mirror of
https://github.com/JamesIves/github-pages-deploy-action.git
synced 2023-12-15 20:03:39 +08:00
14 lines
400 B
TypeScript
14 lines
400 B
TypeScript
|
import { GraphQLError } from '../error/GraphQLError';
|
||
|
import { DocumentNode } from '../language/ast';
|
||
|
import { GraphQLSchema } from '../type/schema';
|
||
|
|
||
|
/**
|
||
|
* A validation rule which reports deprecated usages.
|
||
|
*
|
||
|
* Returns a list of GraphQLError instances describing each deprecated use.
|
||
|
*/
|
||
|
export function findDeprecatedUsages(
|
||
|
schema: GraphQLSchema,
|
||
|
ast: DocumentNode,
|
||
|
): Array<GraphQLError>;
|