(input: unknown)
| 35 | throw new Error('Expected GraphQLScalerType.'); |
| 36 | } |
| 37 | export function assertGraphQLInterfaceType(input: unknown): asserts input is GraphQLInterfaceType { |
| 38 | if (input instanceof GraphQLInterfaceType) { |
| 39 | return; |
| 40 | } |
| 41 | throw new Error('Expected GraphQLInterfaceType.'); |
| 42 | } |
| 43 | export function assertGraphQLUnionType(input: unknown): asserts input is GraphQLUnionType { |
| 44 | if (input instanceof GraphQLUnionType) { |
| 45 | return; |
no outgoing calls
no test coverage detected