1 | declare const shimmer: {
|
2 | (options: { logger?(msg: string): void }): void;
|
3 | wrap<Nodule extends object, FieldName extends keyof Nodule>(
|
4 | nodule: Nodule,
|
5 | name: FieldName,
|
6 | wrapper: (original: Nodule[FieldName]) => Nodule[FieldName],
|
7 | ): void;
|
8 | massWrap<Nodule extends object, FieldName extends keyof Nodule>(
|
9 | nodules: Nodule[],
|
10 | names: FieldName[],
|
11 | wrapper: (original: Nodule[FieldName]) => Nodule[FieldName],
|
12 | ): void;
|
13 | unwrap<Nodule extends object>(
|
14 | nodule: Nodule,
|
15 | name: keyof Nodule,
|
16 | ): void;
|
17 | massUnwrap<Nodule extends object>(
|
18 | nodules: Nodule[],
|
19 | names: Array<keyof Nodule>,
|
20 | ): void;
|
21 | };
|
22 |
|
23 | export = shimmer;
|