Files
tsgo/testdata/baselines/reference/submodule/conformance/neverIntersectionNotCallable.js

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();