@volar/typescript 1.4.1-patch.1 → 1.4.1-patch.2

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.
package/out/getProgram.js CHANGED
@@ -121,8 +121,10 @@ function getProgram(ts, core, ls) {
121
121
  }
122
122
  else {
123
123
  file = ts.createSourceFile(fileName, docText, ts.ScriptTarget.Latest, undefined, ts.ScriptKind.Deferred);
124
- file.parseDiagnostics = []; // not important
125
- file.resolvedPath = fileName; // fix https://github.com/vuejs/language-tools/issues/2622 for TS 5.0
124
+ // fix https://github.com/vuejs/language-tools/issues/2622 for TS 5.0
125
+ file.originalFileName = fileName;
126
+ file.path = fileName.toLowerCase();
127
+ file.resolvedPath = fileName.toLowerCase();
126
128
  }
127
129
  }
128
130
  const newDiagnostic = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@volar/typescript",
3
- "version": "1.4.1-patch.1",
3
+ "version": "1.4.1-patch.2",
4
4
  "main": "out/index.js",
5
5
  "license": "MIT",
6
6
  "files": [