mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-26 10:43:51 -05:00
Add assertion message
This commit is contained in:
@@ -486,7 +486,7 @@ namespace ts {
|
||||
return pipelineEmitWithHint;
|
||||
|
||||
default:
|
||||
return Debug.assertNever(phase);
|
||||
return Debug.assertNever(phase, `Unexpected value for PipelinePhase: ${phase}`);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user