Skip to content

What's the recommended way to handle type errors? #1813

Answered by k-g-a
nigellima asked this question in General
Discussion options

You must be logged in to vote

Hi! You could use typecheck() helper function for this.
Alternatively, documentation states that you can set process.env.ENABLE_TYPE_CHECK = "true" if you want to enable type checking in any environment. A quick look into the code proves this statement.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by k-g-a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants