Files
tsgo/testdata/baselines/reference/submodule/compiler/excessPropertiesInOverloads.js

12 lines
295 B
TypeScript

//// [tests/cases/compiler/excessPropertiesInOverloads.ts] ////
//// [excessPropertiesInOverloads.ts]
declare function fn(a: { x: string }): void;
declare function fn(a: { y: string }): void;
fn({ z: 3, a: 3 });
//// [excessPropertiesInOverloads.js]
"use strict";
fn({ z: 3, a: 3 });