microsoft / TypeScript

TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
https://www.typescriptlang.org
Apache License 2.0
100.89k stars 12.47k forks source link

VSCode shows unexpected problem on valid ts codes after v1.68.1 #50191

Open whzx5byb opened 2 years ago

whzx5byb commented 2 years ago

Does this issue occur when all extensions are disabled?: Yes

Steps to Reproduce:

  1. Create a new file, select the language as Typescript.
  2. Type in the code below:
    
    class A {
    static Foo = class {}
    }

class AFoo extends A.Foo {}


This is valid typescript, and it works OK in v1.67.2 and prior versions.
However, in v1.68.1 and newer(tested in 1.68.1, 1.69.2, 1.70.0), the editor shows two unexpected problems: 
`Cannot find name 'A'.ts(2304)`
`'A' only refers to a type, but is being used as a namespace here.ts(2702)`

Screenshots for comparison:
1.67.2
![1](https://user-images.githubusercontent.com/6128692/182934564-90b465eb-b59d-4555-af8f-dd53031c829f.png)

1.68.1
![2](https://user-images.githubusercontent.com/6128692/182934576-7f4e64ff-3d09-4538-b364-6b573684bf9f.png)

Notice that this code works OK in [Typescript Playground v4.7.3](https://www.typescriptlang.org/play?ts=4.7.3#code/MYGwhgzhAECC0G8CwAoa7oQC5iwS2GgDEB7E6AXmlEhgQF9VGVUapoAhaAUwA8tuAOwAmMWADpS5BkA) (which is bundled by VSCode v1.68.1), so I suppose it may be caused by vscode itself rather than the tsserver.

---
(updated 2022.9.4) Add two similar cases:
```ts
const B = {
    Foo: class { }    
}

namespace C {
    export class Foo { }
}

class BFoo extends B.Foo {
                // ^ error here, expect no error
}
class CFoo extends C.Foo {
                // ^ no error as expected
}
vscodenpa commented 2 years ago

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.70.0. Please try upgrading to the latest version and checking whether this issue remains.

Happy Coding!

mjbvz commented 2 years ago

Behavior is similar to to #50161 . Relevant log:

``` Info 0 [13:24:37.526] Starting TS Server Info 1 [13:24:37.527] Version: 4.7.3 Info 2 [13:24:37.527] Arguments: /Applications/Visual Studio Code - Insiders.app/Contents/Frameworks/Code - Insiders Helper.app/Contents/MacOS/Code - Insiders Helper /Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js --useInferredProjectPerProjectRoot --enableTelemetry --cancellationPipeName /var/folders/5d/nlg411_s0570wmycdwkgqrf40000gn/T/vscode-typescript501/14c003366697b4ab2460/tscancellation-10d0265b403c10ba1002.tmp* --logVerbosity verbose --logFile /Users/matb/Library/Application Support/Code - Insiders/logs/20220803T080057/exthost1/vscode.typescript-language-features/tsserver-log-I6dAUn/tsserver.log --locale en --noGetErrOnBackgroundUpdate --validateDefaultNpmLocation --useNodeIpc Info 3 [13:24:37.527] Platform: darwin NodeVersion: 16 CaseSensitive: false Info 4 [13:24:37.527] ServerMode: undefined syntaxOnly: false hasUnknownServerMode: undefined Info 5 [13:24:37.535] Binding... Info 6 [13:24:37.538] request: { "seq": 0, "type": "request", "command": "configure", "arguments": { "hostInfo": "vscode", "preferences": { "providePrefixAndSuffixTextForRename": true, "allowRenameOfImportPath": true, "includePackageJsonAutoImports": "auto" }, "watchOptions": {} } } Info 7 [13:24:37.539] Host information vscode Info 8 [13:24:37.539] Host watch options changed to undefined, it will be take effect for next watches. Info 9 [13:24:37.539] response: {"seq":0,"type":"response","command":"configure","request_seq":0,"success":true} Perf 10 [13:24:37.539] 0::configure: async elapsed time (in milliseconds) 1.0287 Info 11 [13:24:37.539] request: { "seq": 1, "type": "request", "command": "compilerOptionsForInferredProjects", "arguments": { "options": { "module": "ESNext", "moduleResolution": "Node", "target": "ES2020", "jsx": "react", "strictNullChecks": true, "strictFunctionTypes": true, "sourceMap": true, "allowJs": true, "allowSyntheticDefaultImports": true, "allowNonTsExtensions": true, "resolveJsonModule": true } } } Perf 12 [13:24:37.540] 1::compilerOptionsForInferredProjects: elapsed time (in milliseconds) 0.3190 Info 13 [13:24:37.540] response: {"seq":0,"type":"response","command":"compilerOptionsForInferredProjects","request_seq":1,"success":true,"body":true} Info 14 [13:24:37.540] request: { "seq": 2, "type": "request", "command": "updateOpen", "arguments": { "changedFiles": [], "closedFiles": [], "openFiles": [ { "file": "/Users/matb/projects/san/x.ts", "fileContent": "class A {\n static Foo = class {}\n}\n\nclass B extends A.Foo {} ", "projectRootPath": "/Users/matb/projects/san", "scriptKindName": "TS" } ] } } Info 15 [13:24:37.541] Search path: /Users/matb/projects/san Info 16 [13:24:37.542] For info: /Users/matb/projects/san/x.ts :: No config files found. Info 17 [13:24:37.544] FileWatcher:: Added:: WatchInfo: /Users/matb/projects/san/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info 18 [13:24:37.545] FileWatcher:: Added:: WatchInfo: /Users/matb/projects/san/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info 19 [13:24:37.545] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info 20 [13:24:37.567] DirectoryWatcher:: Added:: WatchInfo: /users/matb/projects/san/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info 21 [13:24:37.569] Elapsed:: 1.0039877891540527ms DirectoryWatcher:: Added:: WatchInfo: /users/matb/projects/san/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info 22 [13:24:38.126] DirectoryWatcher:: Added:: WatchInfo: /applications/visual studio code - insiders.app/contents/resources/app/extensions/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info 23 [13:24:38.126] Elapsed:: 0.3547642230987549ms DirectoryWatcher:: Added:: WatchInfo: /applications/visual studio code - insiders.app/contents/resources/app/extensions/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info 24 [13:24:38.632] DirectoryWatcher:: Added:: WatchInfo: /Users/matb/projects/san/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info 25 [13:24:38.632] Elapsed:: 0.29093098640441895ms DirectoryWatcher:: Added:: WatchInfo: /Users/matb/projects/san/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info 26 [13:24:38.632] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed: 1086.7004449367523ms Info 27 [13:24:38.632] Project '/dev/null/inferredProject1*' (Inferred) Info 28 [13:24:38.638] Files (98) /Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es5.d.ts /Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2015.d.ts /Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2016.d.ts /Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2017.d.ts /Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2018.d.ts /Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2019.d.ts /Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2020.d.ts /Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.dom.d.ts /Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.dom.iterable.d.ts /Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.webworker.importscripts.d.ts /Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.scripthost.d.ts /Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2015.core.d.ts /Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2015.collection.d.ts /Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2015.generator.d.ts /Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2015.iterable.d.ts /Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2015.promise.d.ts /Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2015.proxy.d.ts /Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2015.reflect.d.ts /Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2015.symbol.d.ts /Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts /Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2016.array.include.d.ts /Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2017.object.d.ts /Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts /Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2017.string.d.ts /Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2017.intl.d.ts /Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts /Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts /Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts /Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2018.intl.d.ts /Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2018.promise.d.ts /Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2018.regexp.d.ts /Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2019.array.d.ts /Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2019.object.d.ts /Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2019.string.d.ts /Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2019.symbol.d.ts /Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2020.bigint.d.ts /Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2020.date.d.ts /Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2020.promise.d.ts /Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts /Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2020.string.d.ts /Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts /Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2020.intl.d.ts /Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2020.number.d.ts /Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.esnext.intl.d.ts /Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2020.full.d.ts /Users/matb/projects/san/x.ts /Users/matb/projects/san/node_modules/@types/node/assert.d.ts /Users/matb/projects/san/node_modules/@types/node/assert/strict.d.ts /Users/matb/projects/san/node_modules/@types/node/globals.d.ts /Users/matb/projects/san/node_modules/@types/node/async_hooks.d.ts /Users/matb/projects/san/node_modules/@types/node/buffer.d.ts /Users/matb/projects/san/node_modules/@types/node/child_process.d.ts /Users/matb/projects/san/node_modules/@types/node/cluster.d.ts /Users/matb/projects/san/node_modules/@types/node/console.d.ts /Users/matb/projects/san/node_modules/@types/node/constants.d.ts /Users/matb/projects/san/node_modules/@types/node/crypto.d.ts /Users/matb/projects/san/node_modules/@types/node/dgram.d.ts /Users/matb/projects/san/node_modules/@types/node/diagnostics_channel.d.ts /Users/matb/projects/san/node_modules/@types/node/dns.d.ts /Users/matb/projects/san/node_modules/@types/node/dns/promises.d.ts /Users/matb/projects/san/node_modules/@types/node/domain.d.ts /Users/matb/projects/san/node_modules/@types/node/events.d.ts /Users/matb/projects/san/node_modules/@types/node/fs.d.ts /Users/matb/projects/san/node_modules/@types/node/fs/promises.d.ts /Users/matb/projects/san/node_modules/@types/node/http.d.ts /Users/matb/projects/san/node_modules/@types/node/http2.d.ts /Users/matb/projects/san/node_modules/@types/node/https.d.ts /Users/matb/projects/san/node_modules/@types/node/inspector.d.ts /Users/matb/projects/san/node_modules/@types/node/module.d.ts /Users/matb/projects/san/node_modules/@types/node/net.d.ts /Users/matb/projects/san/node_modules/@types/node/os.d.ts /Users/matb/projects/san/node_modules/@types/node/path.d.ts /Users/matb/projects/san/node_modules/@types/node/perf_hooks.d.ts /Users/matb/projects/san/node_modules/@types/node/process.d.ts /Users/matb/projects/san/node_modules/@types/node/punycode.d.ts /Users/matb/projects/san/node_modules/@types/node/querystring.d.ts /Users/matb/projects/san/node_modules/@types/node/readline.d.ts /Users/matb/projects/san/node_modules/@types/node/repl.d.ts /Users/matb/projects/san/node_modules/@types/node/stream.d.ts /Users/matb/projects/san/node_modules/@types/node/stream/promises.d.ts /Users/matb/projects/san/node_modules/@types/node/stream/consumers.d.ts /Users/matb/projects/san/node_modules/@types/node/stream/web.d.ts /Users/matb/projects/san/node_modules/@types/node/string_decoder.d.ts /Users/matb/projects/san/node_modules/@types/node/test.d.ts /Users/matb/projects/san/node_modules/@types/node/timers.d.ts /Users/matb/projects/san/node_modules/@types/node/timers/promises.d.ts /Users/matb/projects/san/node_modules/@types/node/tls.d.ts /Users/matb/projects/san/node_modules/@types/node/trace_events.d.ts /Users/matb/projects/san/node_modules/@types/node/tty.d.ts /Users/matb/projects/san/node_modules/@types/node/url.d.ts /Users/matb/projects/san/node_modules/@types/node/util.d.ts /Users/matb/projects/san/node_modules/@types/node/v8.d.ts /Users/matb/projects/san/node_modules/@types/node/vm.d.ts /Users/matb/projects/san/node_modules/@types/node/wasi.d.ts /Users/matb/projects/san/node_modules/@types/node/worker_threads.d.ts /Users/matb/projects/san/node_modules/@types/node/zlib.d.ts /Users/matb/projects/san/node_modules/@types/node/globals.global.d.ts /Users/matb/projects/san/node_modules/@types/node/index.d.ts ../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es5.d.ts Library referenced via 'es5' from file '../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2015.d.ts' Library referenced via 'es5' from file '../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2015.d.ts' ../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2015.d.ts Library referenced via 'es2015' from file '../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2016.d.ts' Library referenced via 'es2015' from file '../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2016.d.ts' ../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2016.d.ts Library referenced via 'es2016' from file '../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2017.d.ts' Library referenced via 'es2016' from file '../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2017.d.ts' ../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2017.d.ts Library referenced via 'es2017' from file '../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2018.d.ts' Library referenced via 'es2017' from file '../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2018.d.ts' ../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2018.d.ts Library referenced via 'es2018' from file '../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2019.d.ts' Library referenced via 'es2018' from file '../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2019.d.ts' ../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2019.d.ts Library referenced via 'es2019' from file '../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2020.d.ts' Library referenced via 'es2019' from file '../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2020.d.ts' ../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2020.d.ts Library referenced via 'es2020' from file 'node_modules/@types/node/index.d.ts' Library referenced via 'es2020' from file '../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2020.full.d.ts' ../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.dom.d.ts Library referenced via 'dom' from file '../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2020.full.d.ts' ../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.dom.iterable.d.ts Library referenced via 'dom.iterable' from file '../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2020.full.d.ts' ../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.webworker.importscripts.d.ts Library referenced via 'webworker.importscripts' from file '../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2020.full.d.ts' ../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.scripthost.d.ts Library referenced via 'scripthost' from file '../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2020.full.d.ts' ../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2015.core.d.ts Library referenced via 'es2015.core' from file '../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2015.d.ts' Library referenced via 'es2015.core' from file '../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2015.d.ts' ../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2015.collection.d.ts Library referenced via 'es2015.collection' from file '../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2015.d.ts' Library referenced via 'es2015.collection' from file '../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2015.d.ts' ../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2015.generator.d.ts Library referenced via 'es2015.generator' from file '../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2015.d.ts' Library referenced via 'es2015.generator' from file '../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2015.d.ts' ../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2015.iterable.d.ts Library referenced via 'es2015.iterable' from file '../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2015.d.ts' Library referenced via 'es2015.iterable' from file '../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2015.generator.d.ts' Library referenced via 'es2015.iterable' from file '../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts' Library referenced via 'es2015.iterable' from file '../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2019.object.d.ts' Library referenced via 'es2015.iterable' from file '../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2020.string.d.ts' Library referenced via 'es2015.iterable' from file '../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts' Library referenced via 'es2015.iterable' from file '../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2015.d.ts' Library referenced via 'es2015.iterable' from file '../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2015.generator.d.ts' Library referenced via 'es2015.iterable' from file '../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts' Library referenced via 'es2015.iterable' from file '../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2019.object.d.ts' Library referenced via 'es2015.iterable' from file '../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2020.string.d.ts' Library referenced via 'es2015.iterable' from file '../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts' ../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2015.promise.d.ts Library referenced via 'es2015.promise' from file '../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2015.d.ts' Library referenced via 'es2015.promise' from file '../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2015.d.ts' ../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2015.proxy.d.ts Library referenced via 'es2015.proxy' from file '../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2015.d.ts' Library referenced via 'es2015.proxy' from file '../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2015.d.ts' ../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2015.reflect.d.ts Library referenced via 'es2015.reflect' from file '../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2015.d.ts' Library referenced via 'es2015.reflect' from file '../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2015.d.ts' ../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2015.symbol.d.ts Library referenced via 'es2015.symbol' from file '../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2015.iterable.d.ts' Library referenced via 'es2015.symbol' from file '../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2015.d.ts' Library referenced via 'es2015.symbol' from file '../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts' Library referenced via 'es2015.symbol' from file '../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts' Library referenced via 'es2015.symbol' from file '../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts' Library referenced via 'es2015.symbol' from file '../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts' Library referenced via 'es2015.symbol' from file '../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2015.iterable.d.ts' Library referenced via 'es2015.symbol' from file '../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2015.d.ts' Library referenced via 'es2015.symbol' from file '../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts' Library referenced via 'es2015.symbol' from file '../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts' Library referenced via 'es2015.symbol' from file '../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts' Library referenced via 'es2015.symbol' from file '../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts' ../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts Library referenced via 'es2015.symbol.wellknown' from file '../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2015.d.ts' Library referenced via 'es2015.symbol.wellknown' from file '../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts' Library referenced via 'es2015.symbol.wellknown' from file '../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2015.d.ts' Library referenced via 'es2015.symbol.wellknown' from file '../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts' ../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2016.array.include.d.ts Library referenced via 'es2016.array.include' from file '../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2016.d.ts' Library referenced via 'es2016.array.include' from file '../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2016.d.ts' ../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2017.object.d.ts Library referenced via 'es2017.object' from file '../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2017.d.ts' Library referenced via 'es2017.object' from file '../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2017.d.ts' ../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts Library referenced via 'es2017.sharedmemory' from file '../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2017.d.ts' Library referenced via 'es2017.sharedmemory' from file '../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2017.d.ts' ../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2017.string.d.ts Library referenced via 'es2017.string' from file '../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2017.d.ts' Library referenced via 'es2017.string' from file '../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2017.d.ts' ../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2017.intl.d.ts Library referenced via 'es2017.intl' from file '../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2017.d.ts' Library referenced via 'es2017.intl' from file '../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2017.d.ts' ../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts Library referenced via 'es2017.typedarrays' from file '../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2017.d.ts' Library referenced via 'es2017.typedarrays' from file '../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2017.d.ts' ../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts Library referenced via 'es2018.asyncgenerator' from file '../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2018.d.ts' Library referenced via 'es2018.asyncgenerator' from file '../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2018.d.ts' ../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts Library referenced via 'es2018.asynciterable' from file '../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2018.d.ts' Library referenced via 'es2018.asynciterable' from file '../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts' Library referenced via 'esnext.asynciterable' from file 'node_modules/@types/node/index.d.ts' Library referenced via 'es2018.asynciterable' from file '../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2018.d.ts' Library referenced via 'es2018.asynciterable' from file '../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts' ../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2018.intl.d.ts Library referenced via 'es2018.intl' from file '../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2018.d.ts' Library referenced via 'es2018.intl' from file '../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2018.d.ts' ../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2018.promise.d.ts Library referenced via 'es2018.promise' from file '../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2018.d.ts' Library referenced via 'es2018.promise' from file '../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2018.d.ts' ../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2018.regexp.d.ts Library referenced via 'es2018.regexp' from file '../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2018.d.ts' Library referenced via 'es2018.regexp' from file '../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2018.d.ts' ../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2019.array.d.ts Library referenced via 'es2019.array' from file '../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2019.d.ts' Library referenced via 'es2019.array' from file '../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2019.d.ts' ../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2019.object.d.ts Library referenced via 'es2019.object' from file '../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2019.d.ts' Library referenced via 'es2019.object' from file '../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2019.d.ts' ../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2019.string.d.ts Library referenced via 'es2019.string' from file '../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2019.d.ts' Library referenced via 'es2019.string' from file '../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2019.d.ts' ../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2019.symbol.d.ts Library referenced via 'es2019.symbol' from file '../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2019.d.ts' Library referenced via 'es2019.symbol' from file '../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2019.d.ts' ../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2020.bigint.d.ts Library referenced via 'es2020.bigint' from file '../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2020.d.ts' Library referenced via 'esnext.bigint' from file 'node_modules/@types/node/index.d.ts' Library referenced via 'es2020.bigint' from file '../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2020.d.ts' ../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2020.date.d.ts Library referenced via 'es2020.date' from file '../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2020.d.ts' Library referenced via 'es2020.date' from file '../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2020.d.ts' ../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2020.promise.d.ts Library referenced via 'es2020.promise' from file '../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2020.d.ts' Library referenced via 'es2020.promise' from file '../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2020.d.ts' ../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts Library referenced via 'es2020.sharedmemory' from file '../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2020.d.ts' Library referenced via 'es2020.sharedmemory' from file '../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2020.d.ts' ../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2020.string.d.ts Library referenced via 'es2020.string' from file '../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2020.d.ts' Library referenced via 'es2020.string' from file '../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2020.d.ts' ../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts Library referenced via 'es2020.symbol.wellknown' from file '../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2020.d.ts' Library referenced via 'es2020.symbol.wellknown' from file '../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2020.d.ts' ../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2020.intl.d.ts Library referenced via 'es2020.intl' from file '../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2020.bigint.d.ts' Library referenced via 'es2020.intl' from file '../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2020.date.d.ts' Library referenced via 'es2020.intl' from file '../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2020.number.d.ts' Library referenced via 'es2020.intl' from file '../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2020.d.ts' Library referenced via 'es2020.intl' from file '../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2020.bigint.d.ts' Library referenced via 'es2020.intl' from file '../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2020.date.d.ts' Library referenced via 'es2020.intl' from file '../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2020.number.d.ts' Library referenced via 'es2020.intl' from file '../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2020.d.ts' ../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2020.number.d.ts Library referenced via 'es2020.number' from file '../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2020.d.ts' Library referenced via 'es2020.number' from file '../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2020.d.ts' ../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.esnext.intl.d.ts Library referenced via 'esnext.intl' from file 'node_modules/@types/node/index.d.ts' ../../../../Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2020.full.d.ts Default library for target 'es2020' x.ts Root file specified for compilation node_modules/@types/node/assert.d.ts Referenced via 'assert.d.ts' from file 'node_modules/@types/node/index.d.ts' node_modules/@types/node/assert/strict.d.ts Referenced via 'assert/strict.d.ts' from file 'node_modules/@types/node/index.d.ts' node_modules/@types/node/globals.d.ts Referenced via 'globals.d.ts' from file 'node_modules/@types/node/index.d.ts' node_modules/@types/node/async_hooks.d.ts Referenced via 'async_hooks.d.ts' from file 'node_modules/@types/node/index.d.ts' node_modules/@types/node/buffer.d.ts Referenced via 'buffer.d.ts' from file 'node_modules/@types/node/index.d.ts' node_modules/@types/node/child_process.d.ts Referenced via 'child_process.d.ts' from file 'node_modules/@types/node/index.d.ts' node_modules/@types/node/cluster.d.ts Referenced via 'cluster.d.ts' from file 'node_modules/@types/node/index.d.ts' node_modules/@types/node/console.d.ts Referenced via 'console.d.ts' from file 'node_modules/@types/node/index.d.ts' node_modules/@types/node/constants.d.ts Referenced via 'constants.d.ts' from file 'node_modules/@types/node/index.d.ts' node_modules/@types/node/crypto.d.ts Referenced via 'crypto.d.ts' from file 'node_modules/@types/node/index.d.ts' node_modules/@types/node/dgram.d.ts Referenced via 'dgram.d.ts' from file 'node_modules/@types/node/index.d.ts' node_modules/@types/node/diagnostics_channel.d.ts Referenced via 'diagnostics_channel.d.ts' from file 'node_modules/@types/node/index.d.ts' node_modules/@types/node/dns.d.ts Referenced via 'dns.d.ts' from file 'node_modules/@types/node/index.d.ts' node_modules/@types/node/dns/promises.d.ts Referenced via 'dns/promises.d.ts' from file 'node_modules/@types/node/index.d.ts' Referenced via 'dns/promises.d.ts' from file 'node_modules/@types/node/index.d.ts' node_modules/@types/node/domain.d.ts Referenced via 'domain.d.ts' from file 'node_modules/@types/node/index.d.ts' node_modules/@types/node/events.d.ts Referenced via 'events.d.ts' from file 'node_modules/@types/node/index.d.ts' node_modules/@types/node/fs.d.ts Referenced via 'fs.d.ts' from file 'node_modules/@types/node/index.d.ts' node_modules/@types/node/fs/promises.d.ts Referenced via 'fs/promises.d.ts' from file 'node_modules/@types/node/index.d.ts' node_modules/@types/node/http.d.ts Referenced via 'http.d.ts' from file 'node_modules/@types/node/index.d.ts' node_modules/@types/node/http2.d.ts Referenced via 'http2.d.ts' from file 'node_modules/@types/node/index.d.ts' node_modules/@types/node/https.d.ts Referenced via 'https.d.ts' from file 'node_modules/@types/node/index.d.ts' node_modules/@types/node/inspector.d.ts Referenced via 'inspector.d.ts' from file 'node_modules/@types/node/index.d.ts' node_modules/@types/node/module.d.ts Referenced via 'module.d.ts' from file 'node_modules/@types/node/index.d.ts' node_modules/@types/node/net.d.ts Referenced via 'net.d.ts' from file 'node_modules/@types/node/index.d.ts' node_modules/@types/node/os.d.ts Referenced via 'os.d.ts' from file 'node_modules/@types/node/index.d.ts' node_modules/@types/node/path.d.ts Referenced via 'path.d.ts' from file 'node_modules/@types/node/index.d.ts' node_modules/@types/node/perf_hooks.d.ts Referenced via 'perf_hooks.d.ts' from file 'node_modules/@types/node/index.d.ts' node_modules/@types/node/process.d.ts Referenced via 'process.d.ts' from file 'node_modules/@types/node/index.d.ts' node_modules/@types/node/punycode.d.ts Referenced via 'punycode.d.ts' from file 'node_modules/@types/node/index.d.ts' node_modules/@types/node/querystring.d.ts Referenced via 'querystring.d.ts' from file 'node_modules/@types/node/index.d.ts' node_modules/@types/node/readline.d.ts Referenced via 'readline.d.ts' from file 'node_modules/@types/node/index.d.ts' node_modules/@types/node/repl.d.ts Referenced via 'repl.d.ts' from file 'node_modules/@types/node/index.d.ts' node_modules/@types/node/stream.d.ts Referenced via 'stream.d.ts' from file 'node_modules/@types/node/index.d.ts' node_modules/@types/node/stream/promises.d.ts Referenced via 'stream/promises.d.ts' from file 'node_modules/@types/node/index.d.ts' node_modules/@types/node/stream/consumers.d.ts Referenced via 'stream/consumers.d.ts' from file 'node_modules/@types/node/index.d.ts' node_modules/@types/node/stream/web.d.ts Referenced via 'stream/web.d.ts' from file 'node_modules/@types/node/index.d.ts' node_modules/@types/node/string_decoder.d.ts Referenced via 'string_decoder.d.ts' from file 'node_modules/@types/node/index.d.ts' node_modules/@types/node/test.d.ts Referenced via 'test.d.ts' from file 'node_modules/@types/node/index.d.ts' node_modules/@types/node/timers.d.ts Referenced via 'timers.d.ts' from file 'node_modules/@types/node/index.d.ts' node_modules/@types/node/timers/promises.d.ts Referenced via 'timers/promises.d.ts' from file 'node_modules/@types/node/index.d.ts' node_modules/@types/node/tls.d.ts Referenced via 'tls.d.ts' from file 'node_modules/@types/node/index.d.ts' node_modules/@types/node/trace_events.d.ts Referenced via 'trace_events.d.ts' from file 'node_modules/@types/node/index.d.ts' node_modules/@types/node/tty.d.ts Referenced via 'tty.d.ts' from file 'node_modules/@types/node/index.d.ts' node_modules/@types/node/url.d.ts Referenced via 'url.d.ts' from file 'node_modules/@types/node/index.d.ts' node_modules/@types/node/util.d.ts Referenced via 'util.d.ts' from file 'node_modules/@types/node/index.d.ts' node_modules/@types/node/v8.d.ts Referenced via 'v8.d.ts' from file 'node_modules/@types/node/index.d.ts' node_modules/@types/node/vm.d.ts Referenced via 'vm.d.ts' from file 'node_modules/@types/node/index.d.ts' node_modules/@types/node/wasi.d.ts Referenced via 'wasi.d.ts' from file 'node_modules/@types/node/index.d.ts' node_modules/@types/node/worker_threads.d.ts Referenced via 'worker_threads.d.ts' from file 'node_modules/@types/node/index.d.ts' node_modules/@types/node/zlib.d.ts Referenced via 'zlib.d.ts' from file 'node_modules/@types/node/index.d.ts' node_modules/@types/node/globals.global.d.ts Referenced via 'globals.global.d.ts' from file 'node_modules/@types/node/index.d.ts' node_modules/@types/node/index.d.ts Entry point for implicit type library 'node' with packageId '@types/node/index.d.ts@18.6.3' Info 29 [13:24:38.639] ----------------------------------------------- Info 30 [13:24:38.642] FileWatcher:: Added:: WatchInfo: /users/matb/projects/san/package.json 250 undefined WatchType: package.json file Info 31 [13:24:38.642] FileWatcher:: Added:: WatchInfo: /users/matb/package.json 250 undefined WatchType: package.json file Info 32 [13:24:38.645] AutoImportProviderProject: found 1 root files in 1 dependencies in 3.692671775817871 ms Info 33 [13:24:38.645] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* Info 34 [13:24:38.775] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed: 129.38741993904114ms Info 35 [13:24:38.775] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info 36 [13:24:38.775] Files (1) /Users/matb/projects/san/node_modules/typescript/lib/typescript.d.ts node_modules/typescript/lib/typescript.d.ts Root file specified for compilation Info 37 [13:24:38.775] ----------------------------------------------- Info 38 [13:24:38.776] Project '/dev/null/inferredProject1*' (Inferred) Info 38 [13:24:38.776] Files (98) Info 38 [13:24:38.776] ----------------------------------------------- Info 38 [13:24:38.776] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info 38 [13:24:38.776] Files (1) Info 38 [13:24:38.776] ----------------------------------------------- Info 38 [13:24:38.776] Open files: Info 38 [13:24:38.776] FileName: /Users/matb/projects/san/x.ts ProjectRootPath: /Users/matb/projects/san Info 38 [13:24:38.776] Projects: /dev/null/inferredProject1* Perf 38 [13:24:38.776] 2::updateOpen: elapsed time (in milliseconds) 1236.2711 Info 39 [13:24:38.776] response: {"seq":0,"type":"response","command":"updateOpen","request_seq":2,"success":true,"performanceData":{"updateGraphDurationMs":1216.0878648757935,"createAutoImportProviderProgramDurationMs":134.488352060318},"body":true} Info 40 [13:24:38.777] event: {"seq":0,"type":"event","event":"typingsInstallerPid","body":{"pid":58790}} Info 41 [13:24:38.777] request: { "seq": 3, "type": "request", "command": "geterr", "arguments": { "delay": 0, "files": [ "/Users/matb/projects/san/x.ts" ] } } Perf 42 [13:24:38.778] 3::geterr: async elapsed time (in milliseconds) 0.7729 Info 43 [13:24:38.779] event: {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/Users/matb/projects/san/x.ts","diagnostics":[]}} Info 44 [13:24:38.793] event: {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/Users/matb/projects/san/x.ts","diagnostics":[]}} Info 45 [13:24:38.795] event: {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/Users/matb/projects/san/x.ts","diagnostics":[]}} Info 46 [13:24:38.795] event: {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":3}} Info 47 [13:24:40.863] request: { "seq": 4, "type": "request", "command": "updateOpen", "arguments": { "changedFiles": [ { "fileName": "/Users/matb/projects/san/x.ts", "textChanges": [ { "newText": " ", "start": { "line": 5, "offset": 27 }, "end": { "line": 5, "offset": 27 } } ] } ], "closedFiles": [], "openFiles": [] } } Perf 48 [13:24:40.864] 4::updateOpen: elapsed time (in milliseconds) 0.5825 Info 49 [13:24:40.864] response: {"seq":0,"type":"response","command":"updateOpen","request_seq":4,"success":true,"body":true} Info 50 [13:24:40.864] request: { "seq": 5, "type": "request", "command": "encodedSemanticClassifications-full", "arguments": { "file": "/Users/matb/projects/san/x.ts", "start": 0, "length": 66, "format": "2020" } } Info 51 [13:24:40.864] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info 52 [13:24:40.872] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 2 structureChanged: false structureIsReused:: Completely Elapsed: 7.717365026473999ms Info 53 [13:24:40.872] Different program with same set of files Perf 54 [13:24:40.875] 5::encodedSemanticClassifications-full: elapsed time (in milliseconds) 10.5356 Info 55 [13:24:40.875] response: {"seq":0,"type":"response","command":"encodedSemanticClassifications-full","request_seq":5,"success":true,"performanceData":{"updateGraphDurationMs":7.717365026473999},"body":{"spans":[6,1,257,21,3,259,45,1,257,55,1,256,57,3,258],"endOfLineState":0}} Info 56 [13:24:41.063] request: { "seq": 6, "type": "request", "command": "geterr", "arguments": { "delay": 0, "files": [ "/Users/matb/projects/san/x.ts" ] } } Perf 57 [13:24:41.063] 6::geterr: async elapsed time (in milliseconds) 0.1821 Info 58 [13:24:41.064] event: {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/Users/matb/projects/san/x.ts","diagnostics":[]}} Info 59 [13:24:41.068] event: {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/Users/matb/projects/san/x.ts","diagnostics":[{"start":{"line":5,"offset":17},"end":{"line":5,"offset":18},"text":"Cannot find name 'A'.","code":2304,"category":"error"},{"start":{"line":5,"offset":17},"end":{"line":5,"offset":18},"text":"'A' only refers to a type, but is being used as a namespace here.","code":2702,"category":"error"}]}} Info 60 [13:24:41.068] event: {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/Users/matb/projects/san/x.ts","diagnostics":[]}} Info 61 [13:24:41.068] event: {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":6}} Info 62 [13:24:42.016] request: { "seq": 7, "type": "request", "command": "configure", "arguments": { "file": "/Users/matb/projects/san/x.ts", "formatOptions": { "tabSize": 4, "indentSize": 4, "convertTabsToSpaces": true, "newLineCharacter": "\n", "insertSpaceAfterCommaDelimiter": true, "insertSpaceAfterConstructor": false, "insertSpaceAfterSemicolonInForStatements": true, "insertSpaceBeforeAndAfterBinaryOperators": true, "insertSpaceAfterKeywordsInControlFlowStatements": true, "insertSpaceAfterFunctionKeywordForAnonymousFunctions": true, "insertSpaceBeforeFunctionParenthesis": false, "insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis": false, "insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets": false, "insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces": true, "insertSpaceAfterOpeningAndBeforeClosingEmptyBraces": true, "insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces": false, "insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces": false, "insertSpaceAfterTypeAssertion": false, "placeOpenBraceOnNewLineForFunctions": false, "placeOpenBraceOnNewLineForControlBlocks": false, "semicolons": "ignore" }, "preferences": { "quotePreference": "auto", "importModuleSpecifierEnding": "auto", "jsxAttributeCompletionStyle": "auto", "allowTextChangesInNewFiles": true, "providePrefixAndSuffixTextForRename": true, "allowRenameOfImportPath": true, "includeAutomaticOptionalChainCompletions": true, "provideRefactorNotApplicableReason": true, "generateReturnInDocTemplate": true, "includeCompletionsForImportStatements": true, "includeCompletionsWithSnippetText": true, "includeCompletionsWithClassMemberSnippets": true, "includeCompletionsWithObjectLiteralMethodSnippets": true, "autoImportFileExcludePatterns": [], "useLabelDetailsInCompletionEntries": true, "allowIncompleteCompletions": true, "displayPartsForJSDoc": true, "includeInlayParameterNameHints": "all", "includeInlayParameterNameHintsWhenArgumentMatchesName": false, "includeInlayFunctionParameterTypeHints": false, "includeInlayVariableTypeHints": true, "includeInlayVariableTypeHintsWhenTypeMatchesName": false, "includeInlayPropertyDeclarationTypeHints": false, "includeInlayFunctionLikeReturnTypeHints": false, "includeInlayEnumMemberValueHints": false } } } Info 63 [13:24:42.017] Host configuration update for file /Users/matb/projects/san/x.ts Info 64 [13:24:42.017] response: {"seq":0,"type":"response","command":"configure","request_seq":7,"success":true} Perf 65 [13:24:42.017] 7::configure: async elapsed time (in milliseconds) 0.3737 Info 66 [13:24:42.017] request: { "seq": 8, "type": "request", "command": "provideInlayHints", "arguments": { "file": "/Users/matb/projects/san/x.ts", "start": 0, "length": 66 } } Perf 67 [13:24:42.018] 8::provideInlayHints: elapsed time (in milliseconds) 0.5876 Info 68 [13:24:42.018] response: {"seq":0,"type":"response","command":"provideInlayHints","request_seq":8,"success":true,"body":[]} ```
BalaM314 commented 2 years ago

It is somewhat buggy in TypeScript playground as well, see here When you open the code, it seems fine. Go to "extends Foo.Subclass" and change it to Subclas, then change it back. Sometimes, but not always, the errors appear on Foo. (If it doesn't work, change it to some other invalid property) Unlike in VScode, the error disappears if you edit the text again. Probably a related error. It doesn't happen when I select version 4.6.4 though.