mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
19 lines
912 B
Plaintext
19 lines
912 B
Plaintext
//// [tests/cases/compiler/excessPropertiesInOverloads.ts] ////
|
|
|
|
=== excessPropertiesInOverloads.ts ===
|
|
declare function fn(a: { x: string }): void;
|
|
>fn : Symbol(fn, Decl(excessPropertiesInOverloads.ts, 0, 0), Decl(excessPropertiesInOverloads.ts, 0, 44))
|
|
>a : Symbol(a, Decl(excessPropertiesInOverloads.ts, 0, 20))
|
|
>x : Symbol(x, Decl(excessPropertiesInOverloads.ts, 0, 24))
|
|
|
|
declare function fn(a: { y: string }): void;
|
|
>fn : Symbol(fn, Decl(excessPropertiesInOverloads.ts, 0, 0), Decl(excessPropertiesInOverloads.ts, 0, 44))
|
|
>a : Symbol(a, Decl(excessPropertiesInOverloads.ts, 1, 20))
|
|
>y : Symbol(y, Decl(excessPropertiesInOverloads.ts, 1, 24))
|
|
|
|
fn({ z: 3, a: 3 });
|
|
>fn : Symbol(fn, Decl(excessPropertiesInOverloads.ts, 0, 0), Decl(excessPropertiesInOverloads.ts, 0, 44))
|
|
>z : Symbol(z, Decl(excessPropertiesInOverloads.ts, 2, 4))
|
|
>a : Symbol(a, Decl(excessPropertiesInOverloads.ts, 2, 10))
|
|
|