Skip to content

Commit de10e82

Browse files
committed
Add assertion message
1 parent a7074e2 commit de10e82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compiler/emitter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -486,7 +486,7 @@ namespace ts {
486486
return pipelineEmitWithHint;
487487

488488
default:
489-
return Debug.assertNever(phase);
489+
return Debug.assertNever(phase, `Unexpected value for PipelinePhase: ${phase}`);
490490
}
491491
}
492492

0 commit comments

Comments
 (0)