UNPKG

703 BTypeScriptView Raw
1import { GqlTypeReference, ReturnTypeFunc } from '../interfaces/return-type-func.interface';
2import { TypeOptions } from '../interfaces/type-options.interface';
3export interface ReflectTypeOptions {
4 metadataKey: 'design:type' | 'design:returntype' | 'design:paramtypes';
5 prototype: Object;
6 propertyKey: string;
7 explicitTypeFn?: ReturnTypeFunc;
8 typeOptions?: TypeOptions;
9 index?: number;
10 ignoreOnUndefinedType?: boolean;
11}
12export interface TypeMetadata {
13 typeFn?: (type?: any) => GqlTypeReference;
14 options: TypeOptions;
15}
16export declare function reflectTypeFromMetadata(reflectOptions: ReflectTypeOptions): TypeMetadata;
17//# sourceMappingURL=reflection.utilts.d.ts.map
\No newline at end of file