Support @ts-ignore for specific errors
**TypeScript Version:** 2.6.0-dev.20171011 **Code** ```ts function countDown(n: number): void { switch (n) { // @ts-ignore case 1: console.log("1"); // intentional fall through case 0: console.log("0"); } } ``` **Expected behavior:** Ability to make `ts-ignore` apply to the `--noFallthroughCasesInSwitch` error but not to other errors. **Actual behavior:** `case "1":` would also compile.
Posted by ghost on Oct 12, 2017, 7:23 PM
Tags
Related issues
- some bike vendor told me that the biggest problem with regular to ebike conversion was that regular bike frames were not strong enough to...
- I think of this as the kiosk economy.
- What a goofy comment.
- There's lots of evidence for positive influences of Caffeine on the body (some negative as well), especially the brain.
- Compose support in WSLc
- [RFC] Roadmap to v2.0
Raise real-world problems, find people facing the same issue, and discuss solutions.4,500 issues0 comments
support (Other)
some bike vendor told me that the biggest problem with regular to ebike conversion was that regular bike frames were not strong enough to...
I think of this as the kiosk economy.
What a goofy comment.
There's lots of evidence for positive influences of Caffeine on the body (some negative as well), especially the brain.
Compose support in WSLc
[RFC] Roadmap to v2.0
[Feature]: Add TurboQuant Support for KV Cache Quantization
Support for AGENTS.md and .agents/skills/, the community has been asking since August 2025
Support @ts-ignore for specific errors
**TypeScript Version:** 2.6.0-dev.20171011 **Code** ```ts function countDown(n: number): void { switch (n) { // @ts-ignore case 1: console.log("1"); // intentional fall through case 0: console.log("0"); } } ``` **Expected behavior:** Ability to make `ts-ignore` apply to the `--noFallthroughCasesInSwitch` error but not to other errors. **Actual behavior:** `case "1":` would also compile.
Comments (0)
No comments yet. Start the discussion.