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.

[service] skip the typechecker but *do* perform tsconfig lookup?

See original GitHub issue

It looks like the isolated flag skips type-checking and also skips tsconfig lookup.

Is there a way to perform tsconfig lookup (for flags like downlevelIteration and target that affect emitted code) but still skip type-checking?

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
cspotcodecommented, Jan 28, 2019

Thanks! And thanks for the quick fix on those other 2 issues.

This module is saving me a ton of time. Often I wish tsc did something slightly different (logging diagnostics as JSON, skipping the typechecker, etc) It’s historically been too annoying to re-implement the basic tsc infrastructure to get to a point where I can implement my behavior on top. @ts-tools/service makes it super-easy.

0reactions
AviVahlcommented, Feb 17, 2019

apologies for the delay. going to release service@2.0.0 that allows this.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Skip typechecking; only emit (support --transpileOnly in tsc , re ...
Support a compilation mode where files are only transpiled without typechecking. This can greatly improve compilation speed. Similar to the ...
Read more >
Documentation - tsc CLI Options - TypeScript
Flag Type Default ‑‑allowJs boolean false ‑‑allowUmdGlobalAccess boolean false ‑‑allowUnreachableCode boolean
Read more >
TsConfigOptions | ts-node - TypeStrong · GitHub
Transpile with swc instead of the TypeScript compiler, and skip typechecking. Equivalent to setting both transpileOnly: true and transpiler: 'ts-node/ ...
Read more >
How can I disable all typescript type checking? - Stack Overflow
Add this to your tsconfig.json : { "compilerOptions": { ... "checkJs": false ... } } and stick to .js / .jsx files for...
Read more >
ts-node - npm
json and omit them from the shebang. #!/usr/bin/env ts-node // ts-node options are read from tsconfig.json console.
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