1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 | export declare function setMetadata(metadataKey: string, metadata: any, target: any, targetKey?: string): void;
|
10 |
|
11 |
|
12 |
|
13 |
|
14 |
|
15 |
|
16 |
|
17 |
|
18 | export declare function getMetadata(metadataKey: string, target: any, targetKey?: string): any;
|
19 | export declare function makeMetadataGetter(metadataKey: string): (target: any, targetKey: string) => any;
|
20 | export declare const getMetadataReturnType: (target: any, targetKey: string) => any;
|
21 | export declare const getMetadataType: (target: any, targetKey: string) => any;
|
22 |
|
23 |
|
24 |
|
25 |
|
26 | export declare type MetadataPropertyDecorator = (target: any, propertyKey: string, descriptor: TypedPropertyDescriptor<any>) => any;
|
27 | export declare type MetadataPropertyDecoratorFactory<T> = (opts?: T) => MetadataPropertyDecorator;
|
28 |
|
29 |
|
30 |
|
31 |
|
32 |
|
33 |
|
34 |
|
35 |
|
36 |
|
37 | export declare function makeOptionsDecorator<T>(metadataKey: string, includeTargetKey?: boolean, customizerFn?: (opts: T, target: any, targetKey: string) => any): MetadataPropertyDecoratorFactory<T>;
|