Skip to content

asserts and declare in classes are not included in suggestions #35187

Closed
@AlCalzone

Description

@AlCalzone

TypeScript Version: 3.7.2 in VSCode / Nightly in the playground

Search Terms: asserts color

Code
grafik
grafik

Expected behavior:
asserts is colored like the other keywords and included in auto completion after typing :.
declare is colored like the other keywords and included in auto completion when typing d... at the start of a line in a class context.

Actual behavior:
They are not. (Except declare, which is colored in the playground, but not VSCode).

Playground Link: http://www.typescriptlang.org/play/?ts=3.8.0-dev.20191116#code/GYVwdgxgLglg9mABMOcAUAPAXIghmATwEodcBnMgUwCcozENEZ6AiXFxAbwChE-EA9AMQBaMeImSAeojBw8IKHAhwAtgAcANpSiVkcaojYUadFtwC+3bhE3l6AMVRde-ACaVbuanoBGuAC9SQgBuVz4hUTFZeVxFZTUtHT0UQxYPLx9zfkFhXwJEKAALPQB3XAIAGkRSkp8memLcKEQVVVVKMBaEQpLEahgAcyKWshgPAH5LIA

Related Issues:

Metadata

Metadata

Assignees

Labels

BugA bug in TypeScriptDomain: Completion ListsThe issue relates to showing completion lists in an editorEffort: ModerateRequires experience with the TypeScript codebase, but feasible. Harder than "Effort: Casual".Fix AvailableA PR has been opened for this issueHelp WantedYou can do this

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions