1 | declare module "@apollographql/graphql-language-service-interface" {
|
2 | import { DocumentNode, GraphQLSchema, Location } from "graphql";
|
3 | import {
|
4 | Diagnostic,
|
5 | Position,
|
6 | Range,
|
7 | CompletionItem,
|
8 | } from "vscode-languageserver";
|
9 |
|
10 | function getAutocompleteSuggestions(
|
11 | schema: GraphQLSchema,
|
12 | queryText: string,
|
13 | position: Position
|
14 | ): CompletionItem[];
|
15 | }
|
16 |
|
17 | declare module "@apollographql/graphql-language-service-interface/dist/getAutocompleteSuggestions";
|
18 |
|
19 | declare module "@apollographql/graphql-language-service-interface/dist/getDiagnostics" {
|
20 | import { Location } from "graphql";
|
21 | import { Range } from "vscode-languageserver";
|
22 |
|
23 | function getRange(location: Location, queryText: string): Range;
|
24 | }
|