1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98
|
=== tests/cases/conformance/jsdoc/mod2.js ===
const mod1 = require("./mod1");
>mod1 : typeof mod1
>require("./mod1") : typeof mod1
>require : any
>"./mod1" : "./mod1"
mod1.a;
>mod1.a : { x: string; }
>mod1 : typeof mod1
>a : { x: string; }
mod1.b;
>mod1.b : { x: string; }
>mod1 : typeof mod1
>b : { x: string; }
mod1.c;
>mod1.c : { x: string; }
>mod1 : typeof mod1
>c : { x: string; }
mod1.d;
>mod1.d : typeof mod1."d"
>mod1 : typeof mod1
>d : typeof mod1."d"
mod1.d.e;
>mod1.d.e : number
>mod1.d : typeof mod1."d"
>mod1 : typeof mod1
>d : typeof mod1."d"
>e : number
mod1.default;
>mod1.default : { x: string; }
>mod1 : typeof mod1
>default : { x: string; }
=== tests/cases/conformance/jsdoc/mod1.js ===
exports.a = { x: "x" };
>exports.a = { x: "x" } : { x: string; }
>exports.a : { x: string; }
>exports : typeof import("tests/cases/conformance/jsdoc/mod1")
>a : { x: string; }
>{ x: "x" } : { x: string; }
>x : string
>"x" : "x"
exports["b"] = { x: "x" };
>exports["b"] = { x: "x" } : { x: string; }
>exports["b"] : { x: string; }
>exports : typeof import("tests/cases/conformance/jsdoc/mod1")
>"b" : "b"
>{ x: "x" } : { x: string; }
>x : string
>"x" : "x"
exports["default"] = { x: "x" };
>exports["default"] = { x: "x" } : { x: string; }
>exports["default"] : { x: string; }
>exports : typeof import("tests/cases/conformance/jsdoc/mod1")
>"default" : "default"
>{ x: "x" } : { x: string; }
>x : string
>"x" : "x"
module.exports["c"] = { x: "x" };
>module.exports["c"] = { x: "x" } : { x: string; }
>module.exports["c"] : { x: string; }
>module.exports : typeof module.exports
>module : { exports: typeof module.exports; }
>exports : typeof module.exports
>"c" : "c"
>{ x: "x" } : { x: string; }
>x : string
>"x" : "x"
module["exports"]["d"] = {};
>module["exports"]["d"] = {} : typeof "d"
>module["exports"]["d"] : typeof "d"
>module["exports"] : typeof module.exports
>module : { exports: typeof module.exports; }
>"exports" : "exports"
>"d" : "d"
>{} : {}
module["exports"]["d"].e = 0;
>module["exports"]["d"].e = 0 : 0
>module["exports"]["d"].e : number
>module["exports"]["d"] : typeof "d"
>module["exports"] : typeof module.exports
>module : { exports: typeof module.exports; }
>"exports" : "exports"
>"d" : "d"
>e : number
>0 : 0
|