( input: unknown, )
| 47 | throw new Error('Expected GraphQLUnionType.'); |
| 48 | } |
| 49 | export function assertGraphQLInputObjectType( |
| 50 | input: unknown, |
| 51 | ): asserts input is GraphQLInputObjectType { |
| 52 | if (input instanceof GraphQLInputObjectType) { |
| 53 | return; |
| 54 | } |
| 55 | throw new Error('Expected GraphQLInputObjectType.'); |
| 56 | } |
| 57 | |
| 58 | export function assertEnumTypeDefinitionNode( |
| 59 | input: ASTNode, |
no outgoing calls
no test coverage detected