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
Argument of type '<T>(y: T | undefined) => boolean' is not assignable to parameter of type 'BooleanConstructor'.
Type '<T>(y: T | undefined) => boolean' provides no match for the signature 'new (value?: any): Boolean'.
If I remove ts-reset, remove as const, or access test.A directly, there is no error.
The text was updated successfully, but these errors were encountered:
I found a problem when using an object with readonly keys and accessing one of them dynamically. It's tough to explain, so here's a minimal example:
Results in an error:
If I remove ts-reset, remove
as const
, or accesstest.A
directly, there is no error.The text was updated successfully, but these errors were encountered: