github-pages-deploy-action/node_modules/graphql/utilities/assertValidName.d.ts

12 lines
283 B
TypeScript
Raw Normal View History

2020-03-07 11:45:40 +08:00
import { GraphQLError } from '../error/GraphQLError';
/**
* Upholds the spec rules about naming.
*/
export function assertValidName(name: string): string;
/**
* Returns an Error if a name is invalid.
*/
export function isValidNameError(name: string): GraphQLError | undefined;