mirror of
https://github.com/CamHenlin/MessagesForMacintosh.git
synced 2024-11-25 13:31:00 +00:00
12 lines
283 B
TypeScript
12 lines
283 B
TypeScript
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;
|