mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
Add assertion message
This commit is contained in:
1 parent
a7074e2054
commit
de10e82e8a
1 file changed
+1
-1
@@ -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