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
Use variable declared as const as literal type #12603
Activity
Lenne231 commentedon Dec 1, 2016
Ok,
seems to work, but why is
const INCREMENT = 'INCREMENT';of typestringand not of typeINCREMENT?ahejlsberg commentedon Dec 1, 2016
This is fixed in 2.1 by #10676.