Files
tsgo/testdata/baselines/reference/submodule/conformance/neverIntersectionNotCallable.errors.txt

11 lines
383 B
Plaintext

neverIntersectionNotCallable.ts(2,1): error TS2349: This expression is not callable.
Type 'never' has no call signatures.
==== neverIntersectionNotCallable.ts (1 errors) ====
declare const f: { (x: string): number, a: "" } & { a: number }
f()
~
!!! error TS2349: This expression is not callable.
!!! error TS2349: Type 'never' has no call signatures.