mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
Change to debug fail instead of assert never
This commit is contained in:
@@ -617,7 +617,7 @@ namespace ts {
|
||||
if (declarationMapText === text) return;
|
||||
break;
|
||||
default:
|
||||
Debug.assertNever(name as never);
|
||||
Debug.fail(`Unexpected path: ${name}`);
|
||||
}
|
||||
outputFiles.push({ name, text, writeByteOrderMark });
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user