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
.tsx
Type: Bug
repro.ts
export const always = <const T,>(value: T) => { return () => value }
repro.ts:
repro.tsx:
repro.tsx
Context: https://devblogs.microsoft.com/typescript/announcing-typescript-5-0/#const-type-parameters
VS Code version: Code - Insiders 1.78.0-insider (Universal) (e410e7c66e7ce5c6bc31f73150d66857804a0ee9, 2023-04-28T12:31:32.032Z) OS version: Darwin arm64 22.3.0 Modes: Sandboxed: Yes
vsliv695:30137379 vsins829:30139715 vsliv368cf:30146710 vsreu685:30147344 python383:30185418 vspor879:30202332 vspor708:30202333 vspor363:30204092 vslsvsres303:30308271 pythontb:30258533 vsc_aacf:30263846 pythonptprofiler:30281269 vshan820:30294714 pythondataviewer:30285072 vscod805:30301674 bridge0708:30335490 bridge0723:30353136 cmake_vspar411:30581797 vsaa593:30376534 pythonvs932:30404738 cppdebug:30492333 vsclangdf:30492506 c4g48928:30535728 dsvsc012cf:30540253 pynewext54:30618038 pylantcb52:30590116 nodejswelcome1:30587009 pyind779:30611226 pythonsymbol12:30651887 2i9eh265:30646982 6233i204:30725950 azdwalk:30721579 pythonms35:30671666 03d35959:30680466 24365598:30687740 pythonfmttext:30716741 pythoncmvfstr:30726892 fixshowwlkth:30724385 showsbindicator:30724477 pythongtdpath:30726887
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Type: Bug
repro.ts
..tsx
.repro.ts
:repro.tsx
:Context: https://devblogs.microsoft.com/typescript/announcing-typescript-5-0/#const-type-parameters
VS Code version: Code - Insiders 1.78.0-insider (Universal) (e410e7c66e7ce5c6bc31f73150d66857804a0ee9, 2023-04-28T12:31:32.032Z)
OS version: Darwin arm64 22.3.0
Modes:
Sandboxed: Yes
System Info
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
A/B Experiments
The text was updated successfully, but these errors were encountered: