You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
444 B
14 lines
444 B
4 months ago
|
import { GraphQLError } from '../error/GraphQLError';
|
||
|
/**
|
||
|
* Upholds the spec rules about naming.
|
||
|
* @deprecated Please use `assertName` instead. Will be removed in v17
|
||
|
*/
|
||
|
export declare function assertValidName(name: string): string;
|
||
|
/**
|
||
|
* Returns an Error if a name is invalid.
|
||
|
* @deprecated Please use `assertName` instead. Will be removed in v17
|
||
|
*/
|
||
|
export declare function isValidNameError(
|
||
|
name: string,
|
||
|
): GraphQLError | undefined;
|