Skip to content
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

How do I set the lib compiler option? #68

Open
vincenzon opened this issue Apr 13, 2022 · 0 comments
Open

How do I set the lib compiler option? #68

vincenzon opened this issue Apr 13, 2022 · 0 comments

Comments

@vincenzon
Copy link

I'm trying to use es2019 features (flatMap) and getting:

Property 'flatMap' does not exist on type 'number[]'. Do you need to change your target library? Try changing the `lib` compiler option to 'es2019' or later.

It's not clear to me how to set this for tslab. Thanks for any help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant