ra-data-graphql-simple
Version:
A GraphQL simple data provider for react-admin
8 lines • 714 B
text/typescript
import { IntrospectionType, IntrospectionTypeRef, IntrospectionNonNullTypeRef } from 'graphql';
/**
* Ensure we get the real type even if the root type is NON_NULL or LIST
* @param {GraphQLType} type
*/
declare const getFinalType: (type: IntrospectionType | IntrospectionNonNullTypeRef | IntrospectionTypeRef) => import("graphql").IntrospectionScalarType | import("graphql").IntrospectionObjectType | import("graphql").IntrospectionInterfaceType | import("graphql").IntrospectionUnionType | import("graphql").IntrospectionEnumType | import("graphql").IntrospectionInputObjectType | import("graphql").IntrospectionNamedTypeRef<IntrospectionType>;
export = getFinalType;
//# sourceMappingURL=getFinalType.d.ts.map