Sublime Forum

Build 4200 forgot TypeScript

#1

Upgraded to build 4200, suddenly in a .ts file where I have:

declare global {
interface Navigator {
readonly standalone?: boolean;
}
}

I have an error on “global”
Typescript 8006
‘module’ declarations can only be used in TypeScript files

and thousands of errors indicated thereafter. Did something break in the new release? Source code file did not change.

0 Likes

#2

Sublime Text doesn’t compile or check for any errors in TypeScript itself. Those are likely coming from a plugin you’ve installed.

0 Likes

#3

Fair enough, thank you. Will look into the LSP server and debug from there. I appreciate it.

0 Likes