question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Set TSConfig Lib Defaults

See original GitHub issue

Let’s just turn on everything. Something like ['dom', 'dom.iterable', 'esnext']?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
Timercommented, Nov 2, 2018

Eh, they’re just browser APIs I don’t think it’s a big deal.

1reaction
wafishercommented, Nov 16, 2018

What’s the process for including these changes in my project? I just put in my own lib line for now but I’d rather this were created/enforced by verifyTypeScriptSetup.js. Do I just wait for the next CRA release and update?

Read more comments on GitHub >

github_iconTop Results From Across the Web

TSConfig Option: lib - TypeScript
TSConfig. lib. TypeScript includes a default set of type definitions for built-in JS APIs (like Math ), as well as type definitions for...
Read more >
What does the tsconfig option "lib" do? - Stack Overflow
Specify library file to be included in the compilation. Requires TypeScript version 2.0 or later. What does that mean? typescript.
Read more >
TypeScript configuration - Angular
lib link ... TypeScript includes a default set of declaration files. These files contain the ambient declarations for various common JavaScript constructs present ......
Read more >
tsconfig.json demystified - understanding the tsc compiler
ts files that will be you included based on your lib setting. module: Params: (CommonJS|ES6(ES2015)|ES2020|None|UMD|AMD|System|ESNext)
Read more >
TypeScript configuration - Angular
A given Angular workspace contains several TypeScript configuration files. At the root level, there are two ... projects/my-lib/tsconfig.lib.json" } ] }.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found