mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
11 lines
256 B
TypeScript
11 lines
256 B
TypeScript
//// [tests/cases/conformance/types/never/neverIntersectionNotCallable.ts] ////
|
|
|
|
//// [neverIntersectionNotCallable.ts]
|
|
declare const f: { (x: string): number, a: "" } & { a: number }
|
|
f()
|
|
|
|
|
|
//// [neverIntersectionNotCallable.js]
|
|
"use strict";
|
|
f();
|