mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-05 08:11:30 -06:00
Update switch name
This commit is contained in:
parent
dc703e540c
commit
ccd30cd915
@ -25338,7 +25338,7 @@ namespace ts {
|
||||
|
||||
function checkGrammarPipelineExpression(node: PipelineExpression) {
|
||||
if (!compilerOptions.experimentalPipeline) {
|
||||
return grammarErrorOnNode(node.operatorToken, Diagnostics.Pipeline_expressions_are_part_of_a_stage_1_ECMAScript_proposal_and_are_subject_to_change_in_future_releases_Set_the_experimentalPipeline_option_to_remove_this_warning);
|
||||
return grammarErrorOnNode(node.operatorToken, Diagnostics.Pipeline_expressions_are_part_of_a_stage_1_ECMAScript_proposal_and_are_subject_to_change_in_future_releases_Set_the_experimentalPipelineStage1_option_to_remove_this_warning);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -441,7 +441,7 @@ namespace ts {
|
||||
description: Diagnostics.Enables_experimental_support_for_emitting_type_metadata_for_decorators
|
||||
},
|
||||
{
|
||||
name: "experimentalPipeline",
|
||||
name: "experimentalPipelineStage1",
|
||||
type: "boolean",
|
||||
category: Diagnostics.Experimental_Options,
|
||||
description: Diagnostics.Enables_experimental_support_for_the_stage_1_ECMAScript_pipeline_operator
|
||||
|
||||
@ -831,7 +831,7 @@
|
||||
"category": "Error",
|
||||
"code": 1254
|
||||
},
|
||||
"Pipeline expressions are part of a stage 1 ECMAScript proposal and are subject to change in future releases. Set the 'experimentalPipeline' option to remove this warning.": {
|
||||
"Pipeline expressions are part of a stage 1 ECMAScript proposal and are subject to change in future releases. Set the 'experimentalPipelineStage1' option to remove this warning.": {
|
||||
"category": "Error",
|
||||
"code": 1255
|
||||
},
|
||||
|
||||
@ -3684,7 +3684,7 @@ namespace ts {
|
||||
emitBOM?: boolean;
|
||||
emitDecoratorMetadata?: boolean;
|
||||
experimentalDecorators?: boolean;
|
||||
experimentalPipeline?: boolean;
|
||||
experimentalPipelineStage1?: boolean;
|
||||
forceConsistentCasingInFileNames?: boolean;
|
||||
/*@internal*/help?: boolean;
|
||||
importHelpers?: boolean;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user