@nestjs/graphql
Version:
Nest - modern, fast, powerful node.js web framework (@graphql)
17 lines • 703 B
TypeScript
import { GqlTypeReference, ReturnTypeFunc } from '../interfaces/return-type-func.interface';
import { TypeOptions } from '../interfaces/type-options.interface';
export interface ReflectTypeOptions {
metadataKey: 'design:type' | 'design:returntype' | 'design:paramtypes';
prototype: Object;
propertyKey: string;
explicitTypeFn?: ReturnTypeFunc;
typeOptions?: TypeOptions;
index?: number;
ignoreOnUndefinedType?: boolean;
}
export interface TypeMetadata {
typeFn?: (type?: any) => GqlTypeReference;
options: TypeOptions;
}
export declare function reflectTypeFromMetadata(reflectOptions: ReflectTypeOptions): TypeMetadata;
//# sourceMappingURL=reflection.utilts.d.ts.map