@volar/typescript 2.4.27 → 2.4.28

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.
@@ -138,6 +138,8 @@ function proxyCreateProgram(ts, original, create) {
138
138
  const parsedSourceFile = ts.createSourceFile(fileName, virtualContents, languageVersionOrOptions, undefined, serviceScript.scriptKind);
139
139
  // @ts-expect-error
140
140
  parsedSourceFile.version = originalSourceFile.version;
141
+ // @ts-expect-error
142
+ originalSourceFile.scriptKind = serviceScript.scriptKind;
141
143
  parsedSourceFiles.set(originalSourceFile, parsedSourceFile);
142
144
  }
143
145
  if (getExtraServiceScripts) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@volar/typescript",
3
- "version": "2.4.27",
3
+ "version": "2.4.28",
4
4
  "license": "MIT",
5
5
  "files": [
6
6
  "**/*.js",
@@ -12,12 +12,13 @@
12
12
  "directory": "packages/typescript"
13
13
  },
14
14
  "dependencies": {
15
- "@volar/language-core": "2.4.27",
15
+ "@volar/language-core": "2.4.28",
16
16
  "path-browserify": "^1.0.1",
17
17
  "vscode-uri": "^3.0.8"
18
18
  },
19
19
  "devDependencies": {
20
20
  "@types/path-browserify": "latest",
21
- "@volar/language-service": "2.4.27"
22
- }
21
+ "@volar/language-service": "2.4.28"
22
+ },
23
+ "gitHead": "882cd56d46a13d272f34e451f495d3d62251969a"
23
24
  }