-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Support using the target + lib options to resolve d.ts per playground session #7
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
Comments
I've added the extra paragraph from your original post 👍 |
This got update to ES2015 - so for now I'll close it |
I've been using this as the catch-all for grabbing the right lib files for the TS Playground - so we'll keep it here |
What about stuff like |
That's what this issue is about - I shipped a deploy change which makes the nightly builds use the ESNext build last week, so you can test out what it will be like for 4.0 here: https://www.staging-typescript.org/play?ts=next |
@orta wow, this looks awesome! thanks a lot! |
microsoft/monaco-typescript#64 - will unblock this feature |
use setting: "lib": ["ES2019"] |
This is in |
@orta I don't see the |
You can use twoslash notation to define your own lib: |
For anyone arriving here looking for how to enable this like me, I was not able to use the notation mentioned above like: I tried several variations and other settings changed before bothering to look into some of the other tickets in which this was mentioned. To potentially save someone a few minutes, the way I was able to get it to work was the following:
|
The text was updated successfully, but these errors were encountered: