mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-17 21:06:50 -05:00
initial revision of reachability checks in binder
This commit is contained in:
@@ -244,7 +244,27 @@ namespace ts {
|
||||
"classic": ModuleResolutionKind.Classic
|
||||
},
|
||||
description: Diagnostics.Specifies_module_resolution_strategy_Colon_node_Node_or_classic_TypeScript_pre_1_6
|
||||
}
|
||||
},
|
||||
{
|
||||
name: "noUnusedLabels",
|
||||
type: "boolean",
|
||||
description: Diagnostics.Report_error_on_unused_labels
|
||||
},
|
||||
{
|
||||
name: "noImplicitReturns",
|
||||
type: "boolean",
|
||||
description: Diagnostics.Report_error_when_not_all_code_paths_in_function_return_a_value
|
||||
},
|
||||
{
|
||||
name: "noFallthroughCasesInSwitch",
|
||||
type: "boolean",
|
||||
description: Diagnostics.Report_errors_for_fallthrough_cases_in_switch_statement
|
||||
},
|
||||
{
|
||||
name: "noUnreachableCode",
|
||||
type: "boolean",
|
||||
description: Diagnostics.Report_errors_on_unreachable_code
|
||||
}
|
||||
];
|
||||
|
||||
/* @internal */
|
||||
|
||||
Reference in New Issue
Block a user