Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Support @ts-ignore for specific errors #19139

Open
Labels
RevisitAn issue worth coming back toSuggestionAn idea for TypeScript
@ghost

Description

TypeScript Version: 2.6.0-dev.20171011

Code

functioncountDown(n:number):void{switch(n){//@ts-ignorecase1:console.log("1");// intentional fall throughcase0:console.log("0");}}

Expected behavior:

Ability to makets-ignore apply to the--noFallthroughCasesInSwitch error but not to other errors.

Actual behavior:

case "1": would also compile.

Metadata

Metadata

Assignees

No one assigned

    Labels

    RevisitAn issue worth coming back toSuggestionAn idea for TypeScript

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp