mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
31 lines
992 B
Plaintext
31 lines
992 B
Plaintext
//// [tests/cases/conformance/jsdoc/declarations/jsDeclarationsExportDoubleAssignmentInClosure.ts] ////
|
|
|
|
=== index.js ===
|
|
// @ts-nocheck
|
|
function foo() {
|
|
>foo : Symbol(foo, Decl(index.js, 0, 0))
|
|
|
|
module.exports = exports = function (o) {
|
|
>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))
|
|
>exports : Symbol(exports, Decl(index.js, 0, 0))
|
|
>o : Symbol(o, Decl(index.js, 2, 41))
|
|
|
|
return (o == null) ? create(base) : defineProperties(Object(o), descriptors);
|
|
>o : Symbol(o, Decl(index.js, 2, 41))
|
|
>Object : Symbol(Object, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --))
|
|
>o : Symbol(o, Decl(index.js, 2, 41))
|
|
|
|
};
|
|
const m = function () {
|
|
>m : Symbol(m, Decl(index.js, 5, 9))
|
|
|
|
// I have no idea what to put here
|
|
}
|
|
exports.methods = m;
|
|
>exports : Symbol(exports, Decl(index.js, 0, 0))
|
|
>m : Symbol(m, Decl(index.js, 5, 9))
|
|
}
|
|
|