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
ts-runtime-checks will fail with: Error: Debug Failure. False expression: Negative numbers should be created in combination with createPrefixUnaryExpression
Expected behavior
Either this works out of the box, or the documentation should indicate what to do (could not find what the error createPrefixUnaryExpression meant)
Additional context
ts-runtime-checks: 0.6.2
typescript 5.6.3
The text was updated successfully, but these errors were encountered:
Describe the bug
When using such a type:
ts-runtime-checks will fail with:
Error: Debug Failure. False expression: Negative numbers should be created in combination with createPrefixUnaryExpression
Playground link
playground
Expected behavior
Either this works out of the box, or the documentation should indicate what to do (could not find what the error
createPrefixUnaryExpression
meant)Additional context
The text was updated successfully, but these errors were encountered: