UNPKG

@zuu/owl

Version:

Zuu's Experimental GraphQL Implementation

7 lines (6 loc) 470 B
import { GraphQLScalarType, GraphQLType } from "graphql"; import { TypeOptions } from "../decorators/types"; export declare function convertTypeIfScalar(type: any): GraphQLScalarType | undefined; export declare function wrapWithTypeOptions<T extends GraphQLType>(type: T, typeOptions?: TypeOptions): T; export declare function convertToType(Target: any, data?: object): object | undefined; export declare function getEnumValuesMap<T extends object>(enumObject: T): any;