typescript-svelte-plugin 0.3.49 → 0.3.50
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -5,13 +5,13 @@ const utils_1 = require("../utils");
|
|
|
5
5
|
const sveltekit_1 = require("./sveltekit");
|
|
6
6
|
function decorateHover(ls, info, ts, logger) {
|
|
7
7
|
const getQuickInfoAtPosition = ls.getQuickInfoAtPosition;
|
|
8
|
-
ls.getQuickInfoAtPosition = (fileName, position) => {
|
|
8
|
+
ls.getQuickInfoAtPosition = (fileName, position, ...rest) => {
|
|
9
9
|
const result = (0, sveltekit_1.getVirtualLS)(fileName, info, ts);
|
|
10
10
|
if (!result)
|
|
11
|
-
return getQuickInfoAtPosition(fileName, position);
|
|
11
|
+
return getQuickInfoAtPosition(fileName, position, ...rest);
|
|
12
12
|
const { languageService, toOriginalPos, toVirtualPos } = result;
|
|
13
13
|
const virtualPos = toVirtualPos(position);
|
|
14
|
-
const quickInfo = languageService.getQuickInfoAtPosition(fileName, virtualPos);
|
|
14
|
+
const quickInfo = languageService.getQuickInfoAtPosition(fileName, virtualPos, ...rest);
|
|
15
15
|
if (!quickInfo)
|
|
16
16
|
return quickInfo;
|
|
17
17
|
const source = languageService.getProgram()?.getSourceFile(fileName);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "typescript-svelte-plugin",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.50",
|
|
4
4
|
"description": "A TypeScript Plugin providing Svelte intellisense",
|
|
5
5
|
"main": "dist/src/index.js",
|
|
6
6
|
"keywords": [
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"devDependencies": {
|
|
20
20
|
"@types/node": "^18.0.0",
|
|
21
21
|
"svelte": "^4.2.19",
|
|
22
|
-
"typescript": "^5.
|
|
22
|
+
"typescript": "^5.9.2"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"@jridgewell/sourcemap-codec": "^1.5.0",
|