vzcode 0.69.0 → 0.70.0
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/dist/assets/{index-czCP4WYS.js → index-Bfl2hCW9.js} +1 -1
- package/dist/assets/{worker-FhZpMMPl.js → worker-D0nKlL79.js} +36 -36
- package/dist/assets/{worker-_NbuAnR0.js → worker-DoodSOTA.js} +183 -183
- package/dist/index.html +1 -1
- package/package.json +1 -1
- package/src/client/useTypeScript/worker.ts +6 -3
package/dist/index.html
CHANGED
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap"
|
|
21
21
|
rel="stylesheet"
|
|
22
22
|
/>
|
|
23
|
-
<script type="module" crossorigin src="/assets/index-
|
|
23
|
+
<script type="module" crossorigin src="/assets/index-Bfl2hCW9.js"></script>
|
|
24
24
|
<link rel="stylesheet" crossorigin href="/assets/index-DOd2vdTJ.css">
|
|
25
25
|
</head>
|
|
26
26
|
<body>
|
package/package.json
CHANGED
|
@@ -8,8 +8,6 @@ import {
|
|
|
8
8
|
LinterResponse,
|
|
9
9
|
} from './requestTypes';
|
|
10
10
|
|
|
11
|
-
let isFileSystemInitialized = false;
|
|
12
|
-
|
|
13
11
|
let env: tsvfs.VirtualTypeScriptEnvironment = null;
|
|
14
12
|
|
|
15
13
|
const debug = false;
|
|
@@ -238,6 +236,10 @@ onmessage = async ({ data }) => {
|
|
|
238
236
|
// "Variable 'mic' implicitly has type 'any' in some locations where its type cannot be determined."
|
|
239
237
|
const LINT_ERROR_CODE_ANY_TYPE = 7034;
|
|
240
238
|
|
|
239
|
+
// "Element implicitly has an 'any' type because expression
|
|
240
|
+
// of type '"test"' can't be used to index type '{}'."
|
|
241
|
+
const LINT_ERROR_CODE_ANY_TYPE_KEYS = 7053;
|
|
242
|
+
|
|
241
243
|
if (debug) {
|
|
242
244
|
console.log(tsErrors);
|
|
243
245
|
}
|
|
@@ -246,7 +248,8 @@ onmessage = async ({ data }) => {
|
|
|
246
248
|
error.code !== LINT_ERROR_CODE_ANY &&
|
|
247
249
|
error.code !== LINT_ERROR_CODE_IMPORT &&
|
|
248
250
|
error.code !== LINT_ERROR_CODE_ANY_PARAM &&
|
|
249
|
-
error.code !== LINT_ERROR_CODE_ANY_TYPE
|
|
251
|
+
error.code !== LINT_ERROR_CODE_ANY_TYPE &&
|
|
252
|
+
error.code !== LINT_ERROR_CODE_ANY_TYPE_KEYS,
|
|
250
253
|
);
|
|
251
254
|
}
|
|
252
255
|
tsErrors = convertToCodeMirrorDiagnostic(tsErrors);
|