diff --git a/tests/baselines/reference/typeFromPropertyAssignmentWithExport.symbols b/tests/baselines/reference/typeFromPropertyAssignmentWithExport.symbols index 060018acdeb..8120c3bbaef 100644 --- a/tests/baselines/reference/typeFromPropertyAssignmentWithExport.symbols +++ b/tests/baselines/reference/typeFromPropertyAssignmentWithExport.symbols @@ -2,12 +2,16 @@ // this is a javascript file... export const Adapter = {}; ->Adapter : Symbol(Adapter, Decl(a.js, 2, 12), Decl(a.js, 4, 18)) +>Adapter : Symbol(Adapter, Decl(a.js, 2, 12), Decl(a.js, 2, 26), Decl(a.js, 4, 18)) Adapter.prop = {}; ->Adapter : Symbol(Adapter, Decl(a.js, 2, 12), Decl(a.js, 4, 18)) +>Adapter.prop : Symbol(prop, Decl(a.js, 2, 26)) +>Adapter : Symbol(Adapter, Decl(a.js, 2, 12), Decl(a.js, 2, 26), Decl(a.js, 4, 18)) +>prop : Symbol(prop, Decl(a.js, 2, 26)) // comment this out, and it works Adapter.asyncMethod = function() {} ->Adapter : Symbol(Adapter, Decl(a.js, 2, 12), Decl(a.js, 4, 18)) +>Adapter.asyncMethod : Symbol(asyncMethod, Decl(a.js, 4, 18)) +>Adapter : Symbol(Adapter, Decl(a.js, 2, 12), Decl(a.js, 2, 26), Decl(a.js, 4, 18)) +>asyncMethod : Symbol(asyncMethod, Decl(a.js, 4, 18)) diff --git a/tests/baselines/reference/typeFromPropertyAssignmentWithExport.types b/tests/baselines/reference/typeFromPropertyAssignmentWithExport.types index 82b0e0b48f9..a7c3979c329 100644 --- a/tests/baselines/reference/typeFromPropertyAssignmentWithExport.types +++ b/tests/baselines/reference/typeFromPropertyAssignmentWithExport.types @@ -2,21 +2,21 @@ // this is a javascript file... export const Adapter = {}; ->Adapter : { [x: string]: any; } ->{} : { [x: string]: any; } +>Adapter : { [x: string]: any; prop: { [x: string]: any; }; asyncMethod: () => void; } +>{} : { [x: string]: any; prop: { [x: string]: any; }; asyncMethod: () => void; } Adapter.prop = {}; ->Adapter.prop = {} : {} ->Adapter.prop : any ->Adapter : { [x: string]: any; } ->prop : any ->{} : {} +>Adapter.prop = {} : { [x: string]: any; } +>Adapter.prop : { [x: string]: any; } +>Adapter : { [x: string]: any; prop: { [x: string]: any; }; asyncMethod: () => void; } +>prop : { [x: string]: any; } +>{} : { [x: string]: any; } // comment this out, and it works Adapter.asyncMethod = function() {} >Adapter.asyncMethod = function() {} : () => void ->Adapter.asyncMethod : any ->Adapter : { [x: string]: any; } ->asyncMethod : any +>Adapter.asyncMethod : () => void +>Adapter : { [x: string]: any; prop: { [x: string]: any; }; asyncMethod: () => void; } +>asyncMethod : () => void >function() {} : () => void