UNPKG

ra-data-graphql-simple

Version:

A GraphQL simple data provider for react-admin

8 lines 720 B
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 default getFinalType; //# sourceMappingURL=getFinalType.d.ts.map