lookingglass/hyperglass/ui/globals.d.ts
2020-10-19 08:17:10 -07:00

8 lines
273 B
TypeScript

import type { MotionProps } from 'framer-motion';
type Dict<T = string> = Record<string, T>;
type ReactRef<T = HTMLElement> = MutableRefObject<T>;
type Animated<T> = Omit<T, keyof MotionProps> &
Omit<MotionProps, keyof T> & { transition?: MotionProps['transition'] };