feur
This commit is contained in:
parent
2737aadc7f
commit
8b6a86f17a
8 changed files with 95 additions and 10 deletions
|
@ -3,3 +3,7 @@ import { CSSProperties } from "https://deno.land/std@0.40.0/types/react.d.ts";
|
|||
export function _css(prop: CSSProperties) {
|
||||
return prop;
|
||||
}
|
||||
|
||||
// type wizardry
|
||||
|
||||
export type KeysOfType<T, V> = keyof { [P in keyof T as T[P] extends V ? P : never]: P };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue