mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
35 lines
1.5 KiB
Diff
35 lines
1.5 KiB
Diff
--- old.jsDeclarationsFunctionWithDefaultAssignedMember.symbols
|
|
+++ new.jsDeclarationsFunctionWithDefaultAssignedMember.symbols
|
|
@@= skipped -1, +1 lines =@@
|
|
|
|
=== index.js ===
|
|
function foo() {}
|
|
->foo : Symbol(foo, Decl(index.js, 0, 0), Decl(index.js, 0, 17), Decl(index.js, 2, 14))
|
|
+>foo : Symbol(foo, Decl(index.js, 0, 0))
|
|
|
|
foo.foo = foo;
|
|
>foo.foo : Symbol(foo.foo, Decl(index.js, 0, 17))
|
|
->foo : Symbol(foo, Decl(index.js, 0, 0), Decl(index.js, 0, 17), Decl(index.js, 2, 14))
|
|
+>foo : Symbol(foo, Decl(index.js, 0, 0))
|
|
>foo : Symbol(foo.foo, Decl(index.js, 0, 17))
|
|
->foo : Symbol(foo, Decl(index.js, 0, 0), Decl(index.js, 0, 17), Decl(index.js, 2, 14))
|
|
+>foo : Symbol(foo, Decl(index.js, 0, 0))
|
|
|
|
foo.default = foo;
|
|
>foo.default : Symbol(foo.default, Decl(index.js, 2, 14))
|
|
->foo : Symbol(foo, Decl(index.js, 0, 0), Decl(index.js, 0, 17), Decl(index.js, 2, 14))
|
|
+>foo : Symbol(foo, Decl(index.js, 0, 0))
|
|
>default : Symbol(foo.default, Decl(index.js, 2, 14))
|
|
->foo : Symbol(foo, Decl(index.js, 0, 0), Decl(index.js, 0, 17), Decl(index.js, 2, 14))
|
|
+>foo : Symbol(foo, Decl(index.js, 0, 0))
|
|
|
|
module.exports = foo;
|
|
->module.exports : Symbol(module.exports, Decl(index.js, 0, 0))
|
|
->module : Symbol(export=, Decl(index.js, 3, 18))
|
|
->exports : Symbol(export=, Decl(index.js, 3, 18))
|
|
->foo : Symbol(foo, Decl(index.js, 0, 0), Decl(index.js, 0, 17), Decl(index.js, 2, 14))
|
|
+>module.exports : Symbol(exports, Decl(index.js, 0, 0))
|
|
+>module : Symbol(module, Decl(index.js, 0, 0))
|
|
+>exports : Symbol(exports, Decl(index.js, 0, 0))
|
|
+>foo : Symbol(foo, Decl(index.js, 0, 0))
|