mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
12 lines
649 B
Plaintext
12 lines
649 B
Plaintext
//// [tests/cases/compiler/declarationEmitInferredUndefinedPropFromFunctionInArray.ts] ////
|
|
|
|
=== declarationEmitInferredUndefinedPropFromFunctionInArray.ts ===
|
|
// repro from https://github.com/microsoft/TypeScript/issues/53914
|
|
|
|
export let b = [{ foo: 0, m() {} }, { bar: 1 }];
|
|
>b : Symbol(b, Decl(declarationEmitInferredUndefinedPropFromFunctionInArray.ts, 2, 10))
|
|
>foo : Symbol(foo, Decl(declarationEmitInferredUndefinedPropFromFunctionInArray.ts, 2, 17))
|
|
>m : Symbol(m, Decl(declarationEmitInferredUndefinedPropFromFunctionInArray.ts, 2, 25))
|
|
>bar : Symbol(bar, Decl(declarationEmitInferredUndefinedPropFromFunctionInArray.ts, 2, 37))
|
|
|