Files
tsgo/testdata/baselines/reference/submodule/conformance/jsDeclarationsCommonjsRelativePath.symbols.diff

31 lines
1.3 KiB
Diff

--- old.jsDeclarationsCommonjsRelativePath.symbols
+++ new.jsDeclarationsCommonjsRelativePath.symbols
@@= skipped -5, +5 lines =@@
>Thing : Symbol(Thing, Decl(reexport.js, 1, 5))
>require('./thing').Thing : Symbol(Thing, Decl(thing.js, 2, 18))
>require : Symbol(require)
->'./thing' : Symbol("./thing", Decl(thing.js, 0, 0))
>Thing : Symbol(Thing, Decl(thing.js, 2, 18))
module.exports = { Thing }
->module.exports : Symbol(module.exports, Decl(reexport.js, 0, 0))
->module : Symbol(module, Decl(reexport.js, 1, 38))
->exports : Symbol(module.exports, Decl(reexport.js, 0, 0))
+>module.exports : Symbol(exports, Decl(reexport.js, 0, 0))
+>module : Symbol(module, Decl(reexport.js, 0, 0))
+>exports : Symbol(exports, Decl(reexport.js, 0, 0))
>Thing : Symbol(Thing, Decl(reexport.js, 2, 18))
=== thing.js ===
@@= skipped -15, +14 lines =@@
>Thing : Symbol(Thing, Decl(thing.js, 0, 13))
module.exports = { Thing }
->module.exports : Symbol(module.exports, Decl(thing.js, 0, 0))
->module : Symbol(module, Decl(thing.js, 1, 14))
->exports : Symbol(module.exports, Decl(thing.js, 0, 0))
+>module.exports : Symbol(exports, Decl(thing.js, 0, 0))
+>module : Symbol(module, Decl(thing.js, 0, 0))
+>exports : Symbol(exports, Decl(thing.js, 0, 0))
>Thing : Symbol(Thing, Decl(thing.js, 2, 18))