FLUJOS/BACK_BACK/node_modules/graphql/utilities/assertValidName.d.ts
2025-11-07 00:06:12 +01:00

11 lines
283 B
TypeScript
Executable file

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;