diff --git a/tests/cases/conformance/types/never/neverTypeErrors1.ts b/tests/cases/conformance/types/never/neverTypeErrors1.ts index 8d78e86309..deab74c669 100644 --- a/tests/cases/conformance/types/never/neverTypeErrors1.ts +++ b/tests/cases/conformance/types/never/neverTypeErrors1.ts @@ -6,6 +6,7 @@ function f1() { x = undefined; x = null; x = {}; + x(); } function f2(): never { diff --git a/tests/cases/conformance/types/never/neverTypeErrors2.ts b/tests/cases/conformance/types/never/neverTypeErrors2.ts index 635d1c9c6a..2c637580d0 100644 --- a/tests/cases/conformance/types/never/neverTypeErrors2.ts +++ b/tests/cases/conformance/types/never/neverTypeErrors2.ts @@ -8,6 +8,7 @@ function f1() { x = undefined; x = null; x = {}; + x(); } function f2(): never {