Closed
Description
TS and JS Grammar Extension version: The one included in VSCode 1.41.1
I was asked to split microsoft/TypeScript#35187 and open it here.
Code
function foo(x: any): asserts x is "a" {
}
class Foo {
declare baz: any;
}
Expected behavior:
asserts
is colored like the other keywords.
declare
is colored like the other keywords.
Actual behavior:
They are not. (Except declare, which is colored in the playground, but not VSCode).
Metadata
Metadata
Assignees
Labels
No labels