@aws/language-server-runtimes
Advanced tools
Comparing version 0.2.30 to 0.2.31
{ | ||
"name": "@aws/language-server-runtimes", | ||
"version": "0.2.30", | ||
"version": "0.2.31", | ||
"description": "Runtimes to host Language Servers for AWS", | ||
@@ -44,3 +44,3 @@ "files": [ | ||
"@types/mocha": "^10.0.9", | ||
"@types/node": "^22.10.2", | ||
"@types/node": "^22.10.5", | ||
"assert": "^2.0.0", | ||
@@ -52,3 +52,3 @@ "husky": "^9.1.7", | ||
"ts-sinon": "^2.0.2", | ||
"typescript": "^5.6.3" | ||
"typescript": "^5.7.3" | ||
}, | ||
@@ -55,0 +55,0 @@ "typesVersions": { |
@@ -182,2 +182,3 @@ "use strict"; | ||
mkdir: (path, options) => (0, promises_1.mkdir)(path, options), | ||
readFileSync: (path, options) => (0, fs_1.readFileSync)(path, { encoding: ((options === null || options === void 0 ? void 0 : options.encoding) || 'utf-8') }), | ||
}, | ||
@@ -184,0 +185,0 @@ }; |
@@ -53,2 +53,3 @@ "use strict"; | ||
mkdir: (_path, _options) => Promise.resolve(''), | ||
readFileSync: (_path, _options) => '', | ||
}, | ||
@@ -55,0 +56,0 @@ }; |
@@ -60,4 +60,13 @@ import { TextDocument, WorkspaceFolder } from '../protocol'; | ||
}) => Promise<string | undefined>; | ||
/** | ||
* Reads the entire contents of a file. | ||
* @param {string} path - The path to the file. | ||
* @param {string} [options.encoding] - The encoding to use when reading the file, defaults to 'utf-8'. | ||
* @returns A string referring to the contents of the file. | ||
*/ | ||
readFileSync: (path: string, options?: { | ||
encoding?: string; | ||
}) => string; | ||
}; | ||
}; | ||
export {}; |
@@ -40,3 +40,3 @@ import { Server, CredentialsProvider, Logging, Lsp, Telemetry, Workspace, Chat, Runtime, Notification } from '../server-interface'; | ||
doSignatureHelp(params: SignatureHelpParams, token: CancellationToken): Promise<import("vscode-languageserver-types").SignatureHelp | import("vscode-jsonrpc/lib/common/messages").ResponseError<void> | null | undefined>; | ||
doInlineCompletionWithReferences(...args: Parameters<Parameters<Lsp['extensions']['onInlineCompletionWithReferences']>[0]>): Promise<import("@aws/language-server-runtimes-types/inlineCompletionWithReferences").InlineCompletionListWithReferences | import("@aws/language-server-runtimes-types/inlineCompletionWithReferences").InlineCompletionItemWithReferences[] | import("vscode-jsonrpc/lib/common/messages").ResponseError<void> | null | undefined>; | ||
doInlineCompletionWithReferences(...args: Parameters<Parameters<Lsp['extensions']['onInlineCompletionWithReferences']>[0]>): Promise<import("@aws/language-server-runtimes-types/out/inlineCompletionWithReferences").InlineCompletionListWithReferences | import("@aws/language-server-runtimes-types/out/inlineCompletionWithReferences").InlineCompletionItemWithReferences[] | import("vscode-jsonrpc/lib/common/messages").ResponseError<void> | null | undefined>; | ||
doLogInlineCompletionSessionResults(...args: Parameters<Parameters<Lsp['extensions']['onLogInlineCompletionSessionResults']>[0]>): Promise<void>; | ||
@@ -43,0 +43,0 @@ openDocument(document: TextDocument): this; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
402183
4741