We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
asserts
declare
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).
TS Playground: http://www.typescriptlang.org/play/?ts=3.8.0-dev.20191116#code/GYVwdgxgLglg9mABMOcAUAPAXIghmATwEodcBnMgUwCcozENEZ6AiXFxAbwChE-EA9AMQBaMeImSAeojBw8IKHAhwAtgAcANpSiVkcaojYUadFtwC+3bhE3l6AMVRde-ACaVbuanoBGuAC9SQgBuVz4hUTFZeVxFZTUtHT0UQxYPLx9zfkFhXwJEKAALPQB3XAIAGkRSkp8memLcKEQVVVVKMBaEQpLEahgAcyKWshgPAH5LIA
The text was updated successfully, but these errors were encountered:
c858569
No branches or pull requests
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
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).
TS Playground: http://www.typescriptlang.org/play/?ts=3.8.0-dev.20191116#code/GYVwdgxgLglg9mABMOcAUAPAXIghmATwEodcBnMgUwCcozENEZ6AiXFxAbwChE-EA9AMQBaMeImSAeojBw8IKHAhwAtgAcANpSiVkcaojYUadFtwC+3bhE3l6AMVRde-ACaVbuanoBGuAC9SQgBuVz4hUTFZeVxFZTUtHT0UQxYPLx9zfkFhXwJEKAALPQB3XAIAGkRSkp8memLcKEQVVVVKMBaEQpLEahgAcyKWshgPAH5LIA
The text was updated successfully, but these errors were encountered: