mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-18 12:33:17 +08:00
9 lines
258 B
TypeScript
9 lines
258 B
TypeScript
import { TypeNode } from '../language/ast';
|
|
import { GraphQLType, GraphQLNullableType } from '../type/definition';
|
|
import { GraphQLSchema } from '../type/schema';
|
|
|
|
export function typeFromAST(
|
|
schema: GraphQLSchema,
|
|
typeNode: TypeNode
|
|
): GraphQLType
|