-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathf.d.ts
More file actions
21 lines (19 loc) · 942 Bytes
/
Copy pathf.d.ts
File metadata and controls
21 lines (19 loc) · 942 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/*global provider*/
// declare const _ : typeof import('lodash');
// declare const React : typeof import('react');
// declare const useState : typeof React.useState;
// declare const useEffect : typeof React.useEffect;
// declare const useRef : typeof React.useRef;
// declare const useLayoutEffect : typeof React.useLayoutEffect;
// declare const useMemo : typeof React.useMemo;
// declare const useCallback : typeof React.useCallback;
// declare const utils: typeof import('reaxes-utils');
//
// declare const {createReaxable,Reaxes,reaxel} : typeof import("reaxes");
// declare const {reaxper,Reaxlass} : typeof import("reaxes-react");
// declare const {crayon,orzPromise,logProxy} : typeof utils;
// declare const toolkit:typeof import('reaxes-toolkit');
// declare const {orzPending} : typeof toolkit;
/*DOM*/
/*获取数组泛型参数*/
declare type ArrayElement<ArrayType extends any[]> = ArrayType extends (infer P)[] ? P : never;