mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
17 lines
349 B
Plaintext
17 lines
349 B
Plaintext
//// [tests/cases/compiler/exportDefaultMarksIdentifierAsUsed.ts] ////
|
|
|
|
=== a.js ===
|
|
const Obj = {};
|
|
>Obj : Symbol(Obj, Decl(a.js, 0, 5))
|
|
|
|
export default Obj;
|
|
>Obj : Symbol(Obj, Decl(a.js, 0, 5))
|
|
|
|
=== b.js ===
|
|
import Obj from './a';
|
|
>Obj : Symbol(Obj, Decl(b.js, 0, 6))
|
|
|
|
Obj.fn = function() {};
|
|
>Obj : Symbol(Obj, Decl(b.js, 0, 6))
|
|
|