UNPKG

1.86 kBTypeScriptView Raw
1import { Applicator } from '../applicators';
2import { CompositeKeyWeakMap } from '../utils';
3export declare type ApplicatorToken = {
4 new (): Applicator;
5};
6export declare type LodashMethodDecorator = MethodDecorator;
7export declare type LodashDecorator = MethodDecorator & PropertyDecorator;
8export declare type ResolvableFunction = string | Function;
9export declare type BiTypedMethodDecorator = (() => LodashMethodDecorator) & LodashMethodDecorator;
10export declare type BiTypedMethodDecorator1<T> = ((arg?: T) => LodashMethodDecorator) & LodashMethodDecorator;
11export declare type BiTypedMethodDecorator2<T, T2> = ((arg1?: T, arg2?: T2) => LodashMethodDecorator) & LodashMethodDecorator;
12export declare type BiTypedMethodDecorator3<T, T2, T3> = ((arg1?: T, arg2?: T2, arg3?: T3) => LodashMethodDecorator) & LodashMethodDecorator;
13export declare type BiTypedMethodDecoratorN = ((...args: any[]) => LodashMethodDecorator) & LodashMethodDecorator;
14export declare type BiTypedDecorator = (() => LodashDecorator) & LodashDecorator;
15export declare type BiTypedDecorator1<T> = ((arg?: T) => LodashDecorator) & LodashDecorator;
16export declare type BiTypedDecorator2<T, T2> = ((arg1?: T, arg2?: T2) => LodashDecorator) & LodashDecorator;
17export declare type BiTypedDecorator3<T, T2, T3> = ((arg1?: T, arg2?: T2, arg3?: T3) => LodashDecorator) & LodashDecorator;
18export declare type BiTypedDecoratorN = ((...args: any[]) => LodashDecorator) & LodashDecorator;
19export interface InstanceChainContext {
20 getter?: boolean;
21 setter?: boolean;
22 method?: boolean;
23 property?: boolean;
24 value: any;
25}
26export interface InstanceChainData {
27 properties: string[];
28 fns: Function[];
29 isGetter: boolean;
30 isSetter: boolean;
31 isMethod: boolean;
32 isProperty: boolean;
33}
34export declare const InstanceChainMap: CompositeKeyWeakMap<InstanceChainData>;
35
\No newline at end of file