cac2dda5ac
* add loading state * update snapshots * add border radius * fix comment breaking build jsx
18 lines
303 B
TypeScript
18 lines
303 B
TypeScript
interface Window {
|
|
ClipboardItem: any;
|
|
}
|
|
|
|
interface Clipboard extends EventTarget {
|
|
write(data: any[]): Promise<void>;
|
|
}
|
|
|
|
type Mutable<T> = {
|
|
-readonly [P in keyof T]: T[P];
|
|
};
|
|
|
|
type ResolutionType<T extends (...args: any) => any> = T extends (
|
|
...args: any
|
|
) => Promise<infer R>
|
|
? R
|
|
: any;
|