mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-22 22:55:36 -05:00
Remove redundant throws of Debug.assertNever (#53405)
This commit is contained in:
@@ -467,6 +467,6 @@ function renderPackageNameValidationFailureWorker(typing: string, result: NameVa
|
||||
case NameValidationResult.Ok:
|
||||
return Debug.fail(); // Shouldn't have called this.
|
||||
default:
|
||||
throw Debug.assertNever(result);
|
||||
Debug.assertNever(result);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user