2 /* --------------------------------------------------------------------------------------------
3 * Copyright (c) Microsoft Corporation. All rights reserved.
4 * Licensed under the MIT License. See License.txt in the project root for license information.
5 * ------------------------------------------------------------------------------------------ */
6 Object.defineProperty(exports, "__esModule", { value: true });
7 exports.DeclarationRequest = void 0;
8 const messages_1 = require("./messages");
9 // @ts-ignore: to avoid inlining LocatioLink as dynamic import
10 let __noDynamicImport;
12 * A request to resolve the type definition locations of a symbol at a given text
13 * document position. The request's parameter is of type [TextDocumentPositioParams]
14 * (#TextDocumentPositionParams) the response is of type [Declaration](#Declaration)
15 * or a typed array of [DeclarationLink](#DeclarationLink) or a Thenable that resolves
18 var DeclarationRequest;
19 (function (DeclarationRequest) {
20 DeclarationRequest.method = 'textDocument/declaration';
21 DeclarationRequest.type = new messages_1.ProtocolRequestType(DeclarationRequest.method);
22 })(DeclarationRequest = exports.DeclarationRequest || (exports.DeclarationRequest = {}));
23 //# sourceMappingURL=protocol.declaration.js.map