-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.d.ts
More file actions
28 lines (25 loc) · 712 Bytes
/
index.d.ts
File metadata and controls
28 lines (25 loc) · 712 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
type Prettify<T> = {
[K in keyof T]: T[K];
} & {};
declare module 'react-jitter' {
/**
* Configuration options for react-jitter
*/
export interface ReactJitterOptions {
/**
* List of hook names to ignore (not transform)
* By default, all default react hooks are ignored except useContext and useReducer.
*/
ignoreHooks?: string[];
/**
* List of glob patterns to exclude from transformation
* By default, all node_modules are excluded.
*/
exclude?: string[];
}
/**
* Configuration for react-jitter plugin
* Can be either a boolean to enable/disable or an options object
*/
export type ReactJitterConfig = Prettify<ReactJitterOptions>;
}