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
There is solution for that, but due to those methods being very ground level it may break things in legacy code.
Thus official typescript is not so keen to change those types.
Methods such as
toLowerCase
andtoUpperCase
do not properly infer union type that are invoked on.Typescript Playground Link
There is solution for that, but due to those methods being very ground level it may break things in legacy code.
Thus official typescript is not so keen to change those types.
The text was updated successfully, but these errors were encountered: