mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
28 lines
938 B
Plaintext
28 lines
938 B
Plaintext
//// [tests/cases/conformance/jsdoc/declarations/jsDeclarationsCommonjsRelativePath.ts] ////
|
|
|
|
=== reexport.js ===
|
|
'use strict';
|
|
const Thing = require('./thing').Thing
|
|
>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, 2, 18))
|
|
|
|
module.exports = { Thing }
|
|
>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 ===
|
|
'use strict';
|
|
class Thing {}
|
|
>Thing : Symbol(Thing, Decl(thing.js, 0, 13))
|
|
|
|
module.exports = { Thing }
|
|
>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))
|
|
|