-
I followed the steps below, but couldn't run the exmaple directory in this repo.
But this gives me an error. What are the steps to run the example? |
Beta Was this translation helpful? Give feedback.
Answered by
gvergnaud
Jan 1, 2023
Replies: 2 comments
-
hmm I think this should work, what error do you get? The easiest is probably to copy/paste the content of This section of the README also contains links to codesandboxes with ts-pattern examples |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
gvergnaud
-
Adding I opened a PR here if this is a right fix: #128 tsc Version 4.8.4 The 2 top errors were:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
hmm I think this should work, what error do you get?
The easiest is probably to copy/paste the content of
one-file-example.ts
to a typescript playground: LinkThis section of the README also contains links to codesandboxes with ts-pattern examples