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.

Typechecking not enabled by default is not clearly indicated in the docs

See original GitHub issue

I’m new here, and I spent quite some time to figure out that typechecking is not enabled by default since version 1.23.

Please check out this discussion for what I think might be a common question for begginers: https://stackoverflow.com/questions/72812645/how-to-activate-typescript-verification-of-types/72812958?noredirect=1#comment128609270_72812958

I couldn’t easily find about the use of --check flag on the documentation. So I started to spend a lot of time on how to create a tsconfig.json, then I started to wonder about errors in the linter VSCode is using, and sundelly hours have passed.

Thus I believe maybe that should be an important thing to stress for new learners…

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
CavalcanteLucascommented, Jul 1, 2022

Of course, I’d be glad to do it! Please allow me to read those posts carefully though.

1reaction
jsejcksncommented, Jul 3, 2022

Question:

Has the impact of the environment variable DENO_FUTURE_CHECK been changed because of these updates?

@CavalcanteLucas It no longer has an effect on deno run now that type-checking is disabled without the --check argument.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Skip type checking by default · Issue #11340 · denoland/deno
The default behaviour of the command line will be changed so that the code is not type checked and emitted using swc (this...
Read more >
Documentation - Type Checking JavaScript Files - TypeScript
How to add type checking to JavaScript files using TypeScript.
Read more >
Methods for TypeScript runtime type checking - LogRocket Blog
Explore five methods of performing TypeScript type checks at runtime in this post and learn each of their advantages and disadvantages.
Read more >
Refused to execute script, strict MIME type checking is enabled?
In my case it shows an error like "MIME type ('application/javascript') is not executable". If that is the case I've found a solution....
Read more >
Type checking - Luau
They must be annotated on the top few lines among the comments. --!nocheck ,; --!nonstrict (default), and; --!strict. nocheck mode will simply not...
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