mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
38 lines
1.2 KiB
Plaintext
38 lines
1.2 KiB
Plaintext
//// [tests/cases/conformance/jsdoc/declarations/jsDeclarationsExportAssignedClassExpressionAnonymousWithSub.ts] ////
|
|
|
|
=== index.js ===
|
|
module.exports = class {
|
|
>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))
|
|
|
|
/**
|
|
* @param {number} p
|
|
*/
|
|
constructor(p) {
|
|
>p : Symbol(p, Decl(index.js, 4, 16))
|
|
|
|
this.t = 12 + p;
|
|
>this.t : Symbol(exports.t, Decl(index.js, 4, 20))
|
|
>this : Symbol(exports, Decl(index.js, 0, 16))
|
|
>t : Symbol(exports.t, Decl(index.js, 4, 20))
|
|
>p : Symbol(p, Decl(index.js, 4, 16))
|
|
}
|
|
}
|
|
module.exports.Sub = class {
|
|
>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))
|
|
|
|
constructor() {
|
|
this.instance = new module.exports(10);
|
|
>this.instance : Symbol(Sub.instance, Decl(index.js, 9, 19))
|
|
>this : Symbol(Sub, Decl(index.js, 8, 20))
|
|
>instance : Symbol(Sub.instance, Decl(index.js, 9, 19))
|
|
>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))
|
|
}
|
|
}
|
|
|