fix(43215): disallow using never as an interface name (#43217)

This commit is contained in:
Oleksandr T
2021-03-30 03:22:41 +03:00
committed by GitHub
parent 57775ed405
commit 6fd676b8ef
6 changed files with 25 additions and 4 deletions

View File

@@ -36566,6 +36566,7 @@ namespace ts {
switch (name.escapedText) {
case "any":
case "unknown":
case "never":
case "number":
case "bigint":
case "boolean":