You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
completion list doesn't suggest 'const' in type assertion #29658
In VSCode if the completion list is open, it automatically uses the first entry when typing certain characters like comma or semicolon. That's annoying as it replaces const with ConstantSourceNode or something like that.
Ben Sammons (@Sammons) that feature was merged a few days ago and is already in the the nightly release. It will ship officially with the next stable release.
Activity
Sammons commentedon Feb 3, 2019
I don't see why const should be in the list?
1 as const;isn't really valid in normal typescript code is it?ajafff commentedon Feb 3, 2019
Ben Sammons (@Sammons) that feature was merged a few days ago and is already in the the nightly release. It will ship officially with the next stable release.
Sammons commentedon Feb 4, 2019
Klaus Meinhardt (@ajafff) thanks for explaining, sorry for the rookie interjection
tanhauhau commentedon Feb 20, 2019
can i work on this one?