mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
18 lines
436 B
Plaintext
18 lines
436 B
Plaintext
//// [tests/cases/compiler/exportAssignmentImportMergeNoCrash.ts] ////
|
|
|
|
=== assignment.ts ===
|
|
export default {
|
|
foo: 12
|
|
>foo : Symbol(foo, Decl(assignment.ts, 0, 16))
|
|
|
|
};
|
|
|
|
=== user.ts ===
|
|
import Obj from "./assignment";
|
|
>Obj : Symbol(Obj, Decl(user.ts, 0, 6), Decl(user.ts, 2, 12))
|
|
|
|
export const Obj = void Obj;
|
|
>Obj : Symbol(Obj, Decl(user.ts, 2, 12))
|
|
>Obj : Symbol(Obj, Decl(user.ts, 0, 6), Decl(user.ts, 2, 12))
|
|
|