-
-
Notifications
You must be signed in to change notification settings - Fork 152
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[bug] Discrepencies in results between JavaScript and TypeScript #1087
Labels
bug
Something isn't working
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Trying to match and rewrite lambda functions in TypeScript, I get a simple pattern that doesn't work, but matches correctly in JavaScript.
⏯ Playground Link
Issue can't be reproduced in a single playground, as it is about inconsistencies between pattern matching in JavaScript and TypeScript.
💻 Code
🙁 Actual behavior
🙂 Expected behavior
I was expecting the first pattern to match the code in TypeScript, like it does when the language is explicitly set to JavaScript.
The text was updated successfully, but these errors were encountered: