mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
13 lines
508 B
Plaintext
13 lines
508 B
Plaintext
//// [tests/cases/conformance/types/never/neverIntersectionNotCallable.ts] ////
|
|
|
|
=== neverIntersectionNotCallable.ts ===
|
|
declare const f: { (x: string): number, a: "" } & { a: number }
|
|
>f : Symbol(f, Decl(neverIntersectionNotCallable.ts, 0, 13))
|
|
>x : Symbol(x, Decl(neverIntersectionNotCallable.ts, 0, 20))
|
|
>a : Symbol(a, Decl(neverIntersectionNotCallable.ts, 0, 39))
|
|
>a : Symbol(a, Decl(neverIntersectionNotCallable.ts, 0, 51))
|
|
|
|
f()
|
|
>f : Symbol(f, Decl(neverIntersectionNotCallable.ts, 0, 13))
|
|
|