yunabe / tslab

Interactive JavaScript and TypeScript programming with Jupyter
Apache License 2.0
700 stars 44 forks source link

How do I set the lib compiler option? #68

Open vincenzon opened 2 years ago

vincenzon commented 2 years ago

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.