@zuu/owl
Version:
Zuu's Experimental GraphQL Implementation
16 lines (15 loc) • 621 B
TypeScript
import { ReturnTypeFunc, TypeOptions, TypeValueThunk } from "../decorators/types";
export declare type MetadataKey = "design:type" | "design:returntype" | "design:paramtypes";
export interface TypeInfo {
getType: TypeValueThunk;
typeOptions: TypeOptions;
}
export interface GetTypeParams {
metadataKey: MetadataKey;
prototype: Object;
propertyKey: string;
returnTypeFunc?: ReturnTypeFunc;
typeOptions?: TypeOptions;
parameterIndex?: number;
}
export declare function findType({ metadataKey, prototype, propertyKey, returnTypeFunc, typeOptions, parameterIndex, }: GetTypeParams): TypeInfo;