mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
Create synthetic exports symbol for commonjs module (#42655)
* Commonjs module:create synthetic exports symbol Previously, the `module` identifier in commonjs modules got a synthetic type with a single property `exports`. The exports property reused the file's symbol, which, for a module file, gives the correct exported properties. However, the name of this symbol was still the filename of the file, not `exports`. This PR creates a synthetic symbol for `exports` by copying in a similar way to esModuleInterop's `default` symbol in `resolveESModuleSymbol` (although the intent there is to strip off signatures from the symbol). * correct parent of synthetic symbol
This commit is contained in:
1 parent
79ed041b6a
commit
aba932aefa
229 files changed
+875
-852
No files matched your search
@@ -8768,8 +8768,15 @@ namespace ts {
|
||||
}
|
||||
if (symbol.flags & SymbolFlags.ModuleExports) {
|
||||
const fileSymbol = getSymbolOfNode(getSourceFileOfNode(symbol.valueDeclaration));
|
||||
const result = createSymbol(fileSymbol.flags, "exports" as __String);
|
||||
result.declarations = fileSymbol.declarations ? fileSymbol.declarations.slice() : [];
|
||||
result.parent = symbol;
|
||||
result.target = fileSymbol;
|
||||
if (fileSymbol.valueDeclaration) result.valueDeclaration = fileSymbol.valueDeclaration;
|
||||
if (fileSymbol.members) result.members = new Map(fileSymbol.members);
|
||||
if (fileSymbol.exports) result.exports = new Map(fileSymbol.exports);
|
||||
const members = createSymbolTable();
|
||||
members.set("exports" as __String, fileSymbol);
|
||||
members.set("exports" as __String, result);
|
||||
return createAnonymousType(symbol, members, emptyArray, emptyArray, undefined, undefined);
|
||||
}
|
||||
// Handle catch clause variables
|
||||
|
||||
@@ -8,7 +8,7 @@ var loop2 = loop1;
|
||||
>loop1 : Symbol(loop1, Decl(loop.js, 0, 3))
|
||||
|
||||
module.exports = loop2;
|
||||
>module.exports : Symbol("tests/cases/conformance/salsa/loop", Decl(loop.js, 0, 0))
|
||||
>module.exports : Symbol(module.exports, Decl(loop.js, 0, 0))
|
||||
>module : Symbol(export=, Decl(loop.js, 1, 18))
|
||||
>exports : Symbol(export=, Decl(loop.js, 1, 18))
|
||||
>loop2 : Symbol(loop2, Decl(loop.js, 1, 3))
|
||||
|
||||
@@ -10,7 +10,7 @@ var loop2 = loop1;
|
||||
module.exports = loop2;
|
||||
>module.exports = loop2 : any
|
||||
>module.exports : any
|
||||
>module : { "\"tests/cases/conformance/salsa/loop\"": any; }
|
||||
>module : { exports: any; }
|
||||
>exports : any
|
||||
>loop2 : any
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
* @return {any} I don't even know what this should return
|
||||
*/
|
||||
module.exports = C
|
||||
>module.exports : Symbol("tests/cases/conformance/jsdoc/mod1", Decl(mod1.js, 0, 0))
|
||||
>module.exports : Symbol(module.exports, Decl(mod1.js, 0, 0))
|
||||
>module : Symbol(export=, Decl(mod1.js, 0, 0))
|
||||
>exports : Symbol(export=, Decl(mod1.js, 0, 0))
|
||||
>C : Symbol(C, Decl(mod1.js, 4, 18))
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
module.exports = C
|
||||
>module.exports = C : typeof C
|
||||
>module.exports : typeof C
|
||||
>module : { "\"tests/cases/conformance/jsdoc/mod1\"": typeof C; }
|
||||
>module : { exports: typeof C; }
|
||||
>exports : typeof C
|
||||
>C : typeof C
|
||||
|
||||
|
||||
@@ -202,9 +202,9 @@ Object.defineProperty(module.exports, "thing", { value: "yes", writable: true })
|
||||
>Object.defineProperty : Symbol(ObjectConstructor.defineProperty, Decl(lib.es5.d.ts, --, --))
|
||||
>Object : Symbol(Object, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --))
|
||||
>defineProperty : Symbol(ObjectConstructor.defineProperty, Decl(lib.es5.d.ts, --, --))
|
||||
>module.exports : Symbol("tests/cases/conformance/jsdoc/mod2", Decl(mod2.js, 0, 0))
|
||||
>module.exports : Symbol(module.exports, Decl(mod2.js, 0, 0))
|
||||
>module : Symbol(module, Decl(mod2.js, 0, 22))
|
||||
>exports : Symbol("tests/cases/conformance/jsdoc/mod2", Decl(mod2.js, 0, 0))
|
||||
>exports : Symbol(module.exports, Decl(mod2.js, 0, 0))
|
||||
>"thing" : Symbol(thing, Decl(mod2.js, 0, 0))
|
||||
>value : Symbol(value, Decl(mod2.js, 0, 48))
|
||||
>writable : Symbol(writable, Decl(mod2.js, 0, 62))
|
||||
@@ -213,9 +213,9 @@ Object.defineProperty(module.exports, "readonlyProp", { value: "Smith", writable
|
||||
>Object.defineProperty : Symbol(ObjectConstructor.defineProperty, Decl(lib.es5.d.ts, --, --))
|
||||
>Object : Symbol(Object, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --))
|
||||
>defineProperty : Symbol(ObjectConstructor.defineProperty, Decl(lib.es5.d.ts, --, --))
|
||||
>module.exports : Symbol("tests/cases/conformance/jsdoc/mod2", Decl(mod2.js, 0, 0))
|
||||
>module.exports : Symbol(module.exports, Decl(mod2.js, 0, 0))
|
||||
>module : Symbol(module, Decl(mod2.js, 0, 22))
|
||||
>exports : Symbol("tests/cases/conformance/jsdoc/mod2", Decl(mod2.js, 0, 0))
|
||||
>exports : Symbol(module.exports, Decl(mod2.js, 0, 0))
|
||||
>"readonlyProp" : Symbol(readonlyProp, Decl(mod2.js, 0, 81))
|
||||
>value : Symbol(value, Decl(mod2.js, 1, 55))
|
||||
>writable : Symbol(writable, Decl(mod2.js, 1, 71))
|
||||
@@ -224,9 +224,9 @@ Object.defineProperty(module.exports, "rwAccessors", { get() { return 98122 }, s
|
||||
>Object.defineProperty : Symbol(ObjectConstructor.defineProperty, Decl(lib.es5.d.ts, --, --))
|
||||
>Object : Symbol(Object, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --))
|
||||
>defineProperty : Symbol(ObjectConstructor.defineProperty, Decl(lib.es5.d.ts, --, --))
|
||||
>module.exports : Symbol("tests/cases/conformance/jsdoc/mod2", Decl(mod2.js, 0, 0))
|
||||
>module.exports : Symbol(module.exports, Decl(mod2.js, 0, 0))
|
||||
>module : Symbol(module, Decl(mod2.js, 0, 22))
|
||||
>exports : Symbol("tests/cases/conformance/jsdoc/mod2", Decl(mod2.js, 0, 0))
|
||||
>exports : Symbol(module.exports, Decl(mod2.js, 0, 0))
|
||||
>"rwAccessors" : Symbol(rwAccessors, Decl(mod2.js, 1, 91))
|
||||
>get : Symbol(get, Decl(mod2.js, 2, 54))
|
||||
>set : Symbol(set, Decl(mod2.js, 2, 78))
|
||||
@@ -236,9 +236,9 @@ Object.defineProperty(module.exports, "readonlyAccessor", { get() { return 21.75
|
||||
>Object.defineProperty : Symbol(ObjectConstructor.defineProperty, Decl(lib.es5.d.ts, --, --))
|
||||
>Object : Symbol(Object, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --))
|
||||
>defineProperty : Symbol(ObjectConstructor.defineProperty, Decl(lib.es5.d.ts, --, --))
|
||||
>module.exports : Symbol("tests/cases/conformance/jsdoc/mod2", Decl(mod2.js, 0, 0))
|
||||
>module.exports : Symbol(module.exports, Decl(mod2.js, 0, 0))
|
||||
>module : Symbol(module, Decl(mod2.js, 0, 22))
|
||||
>exports : Symbol("tests/cases/conformance/jsdoc/mod2", Decl(mod2.js, 0, 0))
|
||||
>exports : Symbol(module.exports, Decl(mod2.js, 0, 0))
|
||||
>"readonlyAccessor" : Symbol(readonlyAccessor, Decl(mod2.js, 2, 104))
|
||||
>get : Symbol(get, Decl(mod2.js, 3, 59))
|
||||
|
||||
@@ -246,9 +246,9 @@ Object.defineProperty(module.exports, "setonlyAccessor", {
|
||||
>Object.defineProperty : Symbol(ObjectConstructor.defineProperty, Decl(lib.es5.d.ts, --, --))
|
||||
>Object : Symbol(Object, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --))
|
||||
>defineProperty : Symbol(ObjectConstructor.defineProperty, Decl(lib.es5.d.ts, --, --))
|
||||
>module.exports : Symbol("tests/cases/conformance/jsdoc/mod2", Decl(mod2.js, 0, 0))
|
||||
>module.exports : Symbol(module.exports, Decl(mod2.js, 0, 0))
|
||||
>module : Symbol(module, Decl(mod2.js, 0, 22))
|
||||
>exports : Symbol("tests/cases/conformance/jsdoc/mod2", Decl(mod2.js, 0, 0))
|
||||
>exports : Symbol(module.exports, Decl(mod2.js, 0, 0))
|
||||
>"setonlyAccessor" : Symbol(setonlyAccessor, Decl(mod2.js, 3, 86))
|
||||
|
||||
/** @param {string} str */
|
||||
|
||||
@@ -255,9 +255,9 @@ Object.defineProperty(module.exports, "thing", { value: "yes", writable: true })
|
||||
>Object.defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => any
|
||||
>Object : ObjectConstructor
|
||||
>defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => any
|
||||
>module.exports : typeof import("tests/cases/conformance/jsdoc/mod2")
|
||||
>module : { "\"tests/cases/conformance/jsdoc/mod2\"": typeof import("tests/cases/conformance/jsdoc/mod2"); }
|
||||
>exports : typeof import("tests/cases/conformance/jsdoc/mod2")
|
||||
>module.exports : typeof module.exports
|
||||
>module : { exports: typeof module.exports; }
|
||||
>exports : typeof module.exports
|
||||
>"thing" : "thing"
|
||||
>{ value: "yes", writable: true } : { value: string; writable: true; }
|
||||
>value : string
|
||||
@@ -270,9 +270,9 @@ Object.defineProperty(module.exports, "readonlyProp", { value: "Smith", writable
|
||||
>Object.defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => any
|
||||
>Object : ObjectConstructor
|
||||
>defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => any
|
||||
>module.exports : typeof import("tests/cases/conformance/jsdoc/mod2")
|
||||
>module : { "\"tests/cases/conformance/jsdoc/mod2\"": typeof import("tests/cases/conformance/jsdoc/mod2"); }
|
||||
>exports : typeof import("tests/cases/conformance/jsdoc/mod2")
|
||||
>module.exports : typeof module.exports
|
||||
>module : { exports: typeof module.exports; }
|
||||
>exports : typeof module.exports
|
||||
>"readonlyProp" : "readonlyProp"
|
||||
>{ value: "Smith", writable: false } : { value: string; writable: false; }
|
||||
>value : string
|
||||
@@ -285,9 +285,9 @@ Object.defineProperty(module.exports, "rwAccessors", { get() { return 98122 }, s
|
||||
>Object.defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => any
|
||||
>Object : ObjectConstructor
|
||||
>defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => any
|
||||
>module.exports : typeof import("tests/cases/conformance/jsdoc/mod2")
|
||||
>module : { "\"tests/cases/conformance/jsdoc/mod2\"": typeof import("tests/cases/conformance/jsdoc/mod2"); }
|
||||
>exports : typeof import("tests/cases/conformance/jsdoc/mod2")
|
||||
>module.exports : typeof module.exports
|
||||
>module : { exports: typeof module.exports; }
|
||||
>exports : typeof module.exports
|
||||
>"rwAccessors" : "rwAccessors"
|
||||
>{ get() { return 98122 }, set(_) { /*ignore*/ } } : { get(): number; set(_: any): void; }
|
||||
>get : () => number
|
||||
@@ -300,9 +300,9 @@ Object.defineProperty(module.exports, "readonlyAccessor", { get() { return 21.75
|
||||
>Object.defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => any
|
||||
>Object : ObjectConstructor
|
||||
>defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => any
|
||||
>module.exports : typeof import("tests/cases/conformance/jsdoc/mod2")
|
||||
>module : { "\"tests/cases/conformance/jsdoc/mod2\"": typeof import("tests/cases/conformance/jsdoc/mod2"); }
|
||||
>exports : typeof import("tests/cases/conformance/jsdoc/mod2")
|
||||
>module.exports : typeof module.exports
|
||||
>module : { exports: typeof module.exports; }
|
||||
>exports : typeof module.exports
|
||||
>"readonlyAccessor" : "readonlyAccessor"
|
||||
>{ get() { return 21.75 } } : { get(): number; }
|
||||
>get : () => number
|
||||
@@ -313,9 +313,9 @@ Object.defineProperty(module.exports, "setonlyAccessor", {
|
||||
>Object.defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => any
|
||||
>Object : ObjectConstructor
|
||||
>defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => any
|
||||
>module.exports : typeof import("tests/cases/conformance/jsdoc/mod2")
|
||||
>module : { "\"tests/cases/conformance/jsdoc/mod2\"": typeof import("tests/cases/conformance/jsdoc/mod2"); }
|
||||
>exports : typeof import("tests/cases/conformance/jsdoc/mod2")
|
||||
>module.exports : typeof module.exports
|
||||
>module : { exports: typeof module.exports; }
|
||||
>exports : typeof module.exports
|
||||
>"setonlyAccessor" : "setonlyAccessor"
|
||||
>{ /** @param {string} str */ set(str) { this.rwAccessors = Number(str) }} : { set(str: string): void; }
|
||||
|
||||
|
||||
@@ -170,7 +170,7 @@ Object.defineProperty(Person.prototype, "setonlyAccessor", {
|
||||
}
|
||||
});
|
||||
module.exports = Person;
|
||||
>module.exports : Symbol("tests/cases/conformance/jsdoc/mod1", Decl(mod1.js, 0, 0))
|
||||
>module.exports : Symbol(module.exports, Decl(mod1.js, 0, 0))
|
||||
>module : Symbol(export=, Decl(mod1.js, 19, 3))
|
||||
>exports : Symbol(export=, Decl(mod1.js, 19, 3))
|
||||
>Person : Symbol(Person, Decl(mod1.js, 0, 0))
|
||||
|
||||
@@ -214,7 +214,7 @@ Object.defineProperty(Person.prototype, "setonlyAccessor", {
|
||||
module.exports = Person;
|
||||
>module.exports = Person : typeof Person
|
||||
>module.exports : typeof Person
|
||||
>module : { "\"tests/cases/conformance/jsdoc/mod1\"": typeof Person; }
|
||||
>module : { exports: typeof Person; }
|
||||
>exports : typeof Person
|
||||
>Person : typeof Person
|
||||
|
||||
@@ -22,7 +22,7 @@ export = Foo;
|
||||
/** @typedef {(foo: Foo) => string} FooFun */
|
||||
|
||||
module.exports = /** @type {FooFun} */(void 0);
|
||||
>module.exports : Symbol("tests/cases/compiler/something", Decl(something.js, 0, 0))
|
||||
>module.exports : Symbol(module.exports, Decl(something.js, 0, 0))
|
||||
>module : Symbol(export=, Decl(something.js, 0, 0))
|
||||
>exports : Symbol(export=, Decl(something.js, 0, 0))
|
||||
|
||||
@@ -24,7 +24,7 @@ export = Foo;
|
||||
module.exports = /** @type {FooFun} */(void 0);
|
||||
>module.exports = /** @type {FooFun} */(void 0) : (foo: Foo) => string
|
||||
>module.exports : (foo: typeof import("tests/cases/compiler/file")) => string
|
||||
>module : { "\"tests/cases/compiler/something\"": (foo: typeof import("tests/cases/compiler/file")) => string; }
|
||||
>module : { exports: (foo: typeof import("tests/cases/compiler/file")) => string; }
|
||||
>exports : (foo: typeof import("tests/cases/compiler/file")) => string
|
||||
>(void 0) : FooFun
|
||||
>void 0 : undefined
|
||||
|
||||
@@ -196,7 +196,7 @@ match(() => expected, (x = expected) => void 0);
|
||||
>expected : Symbol(expected, Decl(index.js, 32, 5))
|
||||
|
||||
module.exports = x;
|
||||
>module.exports : Symbol("tests/cases/conformance/jsdoc/index", Decl(index.js, 0, 0))
|
||||
>module.exports : Symbol(module.exports, Decl(index.js, 0, 0))
|
||||
>module : Symbol(export=, Decl(index.js, 41, 48))
|
||||
>exports : Symbol(export=, Decl(index.js, 41, 48))
|
||||
>x : Symbol(x, Decl(index.js, 0, 5), Decl(index.js, 1, 22), Decl(index.js, 2, 22), Decl(index.js, 3, 22), Decl(index.js, 4, 22) ... and 2 more)
|
||||
|
||||
@@ -249,7 +249,7 @@ match(() => expected, (x = expected) => void 0);
|
||||
module.exports = x;
|
||||
>module.exports = x : typeof x
|
||||
>module.exports : typeof x
|
||||
>module : { "\"tests/cases/conformance/jsdoc/index\"": typeof x; }
|
||||
>module : { exports: typeof x; }
|
||||
>exports : typeof x
|
||||
>x : typeof x
|
||||
|
||||
@@ -17,9 +17,9 @@ const hardline = { type: "hard" }
|
||||
>type : Symbol(type, Decl(first.js, 2, 18))
|
||||
|
||||
module.exports = {
|
||||
>module.exports : Symbol("tests/cases/conformance/salsa/first", Decl(first.js, 0, 0))
|
||||
>module.exports : Symbol(module.exports, Decl(first.js, 0, 0))
|
||||
>module : Symbol(module, Decl(first.js, 2, 33))
|
||||
>exports : Symbol("tests/cases/conformance/salsa/first", Decl(first.js, 0, 0))
|
||||
>exports : Symbol(module.exports, Decl(first.js, 0, 0))
|
||||
|
||||
hardline
|
||||
>hardline : Symbol(hardline, Decl(first.js, 3, 18))
|
||||
@@ -28,7 +28,7 @@ module.exports = {
|
||||
|
||||
=== tests/cases/conformance/salsa/second.js ===
|
||||
module.exports = {
|
||||
>module.exports : Symbol("tests/cases/conformance/salsa/second", Decl(second.js, 0, 0))
|
||||
>module.exports : Symbol(module.exports, Decl(second.js, 0, 0))
|
||||
>module : Symbol(export=, Decl(second.js, 0, 0))
|
||||
>exports : Symbol(export=, Decl(second.js, 0, 0))
|
||||
|
||||
|
||||
@@ -20,10 +20,10 @@ const hardline = { type: "hard" }
|
||||
>"hard" : "hard"
|
||||
|
||||
module.exports = {
|
||||
>module.exports = { hardline} : typeof import("tests/cases/conformance/salsa/first")
|
||||
>module.exports : typeof import("tests/cases/conformance/salsa/first")
|
||||
>module : { "\"tests/cases/conformance/salsa/first\"": typeof import("tests/cases/conformance/salsa/first"); }
|
||||
>exports : typeof import("tests/cases/conformance/salsa/first")
|
||||
>module.exports = { hardline} : typeof module.exports
|
||||
>module.exports : typeof module.exports
|
||||
>module : { exports: typeof module.exports; }
|
||||
>exports : typeof module.exports
|
||||
>{ hardline} : { hardline: { type: string; }; }
|
||||
|
||||
hardline
|
||||
@@ -35,7 +35,7 @@ module.exports = {
|
||||
module.exports = {
|
||||
>module.exports = { nested: require('./first')} : { nested: typeof import("tests/cases/conformance/salsa/first"); }
|
||||
>module.exports : { nested: typeof import("tests/cases/conformance/salsa/first"); }
|
||||
>module : { "\"tests/cases/conformance/salsa/second\"": { nested: typeof import("tests/cases/conformance/salsa/first"); }; }
|
||||
>module : { exports: { nested: typeof import("tests/cases/conformance/salsa/first"); }; }
|
||||
>exports : { nested: typeof import("tests/cases/conformance/salsa/first"); }
|
||||
>{ nested: require('./first')} : { nested: typeof import("tests/cases/conformance/salsa/first"); }
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
=== tests/cases/compiler/index.js ===
|
||||
module.exports = {}
|
||||
>module.exports : Symbol("tests/cases/compiler/index", Decl(index.js, 0, 0))
|
||||
>module.exports : Symbol(module.exports, Decl(index.js, 0, 0))
|
||||
>module : Symbol(module, Decl(index.js, 0, 0))
|
||||
>exports : Symbol("tests/cases/compiler/index", Decl(index.js, 0, 0))
|
||||
>exports : Symbol(module.exports, Decl(index.js, 0, 0))
|
||||
|
||||
var x = 1
|
||||
>x : Symbol(x, Decl(index.js, 1, 3))
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
=== tests/cases/compiler/index.js ===
|
||||
module.exports = {}
|
||||
>module.exports = {} : typeof import("tests/cases/compiler/index")
|
||||
>module.exports : typeof import("tests/cases/compiler/index")
|
||||
>module : { "\"tests/cases/compiler/index\"": typeof import("tests/cases/compiler/index"); }
|
||||
>exports : typeof import("tests/cases/compiler/index")
|
||||
>module.exports = {} : typeof module.exports
|
||||
>module.exports : typeof module.exports
|
||||
>module : { exports: typeof module.exports; }
|
||||
>exports : typeof module.exports
|
||||
>{} : {}
|
||||
|
||||
var x = 1
|
||||
|
||||
@@ -56,7 +56,7 @@ function A() { this.id = 1; }
|
||||
>id : Symbol(A.id, Decl(other.js, 0, 14))
|
||||
|
||||
module.exports = A;
|
||||
>module.exports : Symbol("tests/cases/conformance/salsa/other", Decl(other.js, 0, 0))
|
||||
>module.exports : Symbol(module.exports, Decl(other.js, 0, 0))
|
||||
>module : Symbol(export=, Decl(other.js, 0, 29))
|
||||
>exports : Symbol(export=, Decl(other.js, 0, 29))
|
||||
>A : Symbol(A, Decl(other.js, 0, 0))
|
||||
|
||||
@@ -71,7 +71,7 @@ function A() { this.id = 1; }
|
||||
module.exports = A;
|
||||
>module.exports = A : typeof A
|
||||
>module.exports : typeof A
|
||||
>module : { "\"tests/cases/conformance/salsa/other\"": typeof A; }
|
||||
>module : { exports: typeof A; }
|
||||
>exports : typeof A
|
||||
>A : typeof A
|
||||
|
||||
@@ -103,7 +103,7 @@ module.exports.y = {
|
||||
>module.exports.y : Symbol(y, Decl(test.js, 45, 9))
|
||||
>module.exports : Symbol(y, Decl(test.js, 45, 9))
|
||||
>module : Symbol(module, Decl(test.js, 45, 9))
|
||||
>exports : Symbol("tests/cases/conformance/salsa/test", Decl(test.js, 0, 0))
|
||||
>exports : Symbol(module.exports, Decl(test.js, 0, 0))
|
||||
>y : Symbol(y, Decl(test.js, 45, 9))
|
||||
|
||||
status: "done",
|
||||
@@ -115,9 +115,9 @@ module.exports.y = {
|
||||
}
|
||||
module.exports.y
|
||||
>module.exports.y : Symbol(y, Decl(test.js, 45, 9))
|
||||
>module.exports : Symbol("tests/cases/conformance/salsa/test", Decl(test.js, 0, 0))
|
||||
>module.exports : Symbol(module.exports, Decl(test.js, 0, 0))
|
||||
>module : Symbol(module, Decl(test.js, 45, 9))
|
||||
>exports : Symbol("tests/cases/conformance/salsa/test", Decl(test.js, 0, 0))
|
||||
>exports : Symbol(module.exports, Decl(test.js, 0, 0))
|
||||
>y : Symbol(y, Decl(test.js, 45, 9))
|
||||
|
||||
// prototype-property assignment
|
||||
@@ -165,7 +165,7 @@ F.prototype = {
|
||||
// module.exports assignment
|
||||
/** @type {{ status: 'done', m(n: number): void }} */
|
||||
module.exports = {
|
||||
>module.exports : Symbol("tests/cases/conformance/salsa/mod", Decl(mod.js, 0, 0))
|
||||
>module.exports : Symbol(module.exports, Decl(mod.js, 0, 0))
|
||||
>module : Symbol(export=, Decl(mod.js, 0, 0))
|
||||
>exports : Symbol(export=, Decl(mod.js, 0, 0))
|
||||
|
||||
|
||||
@@ -118,9 +118,9 @@ exports.x
|
||||
module.exports.y = {
|
||||
>module.exports.y = { status: "done", m(n) { }} : { status: "done"; m(n: number): void; }
|
||||
>module.exports.y : DoneStatus
|
||||
>module.exports : typeof import("tests/cases/conformance/salsa/test")
|
||||
>module : { "\"tests/cases/conformance/salsa/test\"": typeof import("tests/cases/conformance/salsa/test"); }
|
||||
>exports : typeof import("tests/cases/conformance/salsa/test")
|
||||
>module.exports : typeof module.exports
|
||||
>module : { exports: typeof module.exports; }
|
||||
>exports : typeof module.exports
|
||||
>y : DoneStatus
|
||||
>{ status: "done", m(n) { }} : { status: "done"; m(n: number): void; }
|
||||
|
||||
@@ -134,9 +134,9 @@ module.exports.y = {
|
||||
}
|
||||
module.exports.y
|
||||
>module.exports.y : DoneStatus
|
||||
>module.exports : typeof import("tests/cases/conformance/salsa/test")
|
||||
>module : { "\"tests/cases/conformance/salsa/test\"": typeof import("tests/cases/conformance/salsa/test"); }
|
||||
>exports : typeof import("tests/cases/conformance/salsa/test")
|
||||
>module.exports : typeof module.exports
|
||||
>module : { exports: typeof module.exports; }
|
||||
>exports : typeof module.exports
|
||||
>y : DoneStatus
|
||||
|
||||
// prototype-property assignment
|
||||
@@ -192,7 +192,7 @@ F.prototype = {
|
||||
module.exports = {
|
||||
>module.exports = { status: "done", m(n) { }} : { status: 'done'; m(n: number): void; }
|
||||
>module.exports : { status: "done"; m(n: number): void; }
|
||||
>module : { "\"tests/cases/conformance/salsa/mod\"": { status: "done"; m(n: number): void; }; }
|
||||
>module : { exports: { status: "done"; m(n: number): void; }; }
|
||||
>exports : { status: "done"; m(n: number): void; }
|
||||
>{ status: "done", m(n) { }} : { status: "done"; m(n: number): void; }
|
||||
|
||||
|
||||
+3
-3
@@ -5,7 +5,7 @@ const _item = require("./namespacer");
|
||||
>"./namespacer" : Symbol("tests/cases/compiler/namespacer", Decl(namespacer.js, 0, 0))
|
||||
|
||||
module.exports = 12;
|
||||
>module.exports : Symbol("tests/cases/compiler/index", Decl(index.js, 0, 0))
|
||||
>module.exports : Symbol(module.exports, Decl(index.js, 0, 0))
|
||||
>module : Symbol(export=, Decl(index.js, 0, 38))
|
||||
>exports : Symbol(export=, Decl(index.js, 0, 38))
|
||||
|
||||
@@ -28,7 +28,7 @@ A.bar = class Q {}
|
||||
>Q : Symbol(Q, Decl(namespacey.js, 1, 7))
|
||||
|
||||
module.exports = A;
|
||||
>module.exports : Symbol("tests/cases/compiler/namespacey", Decl(namespacey.js, 0, 0))
|
||||
>module.exports : Symbol(module.exports, Decl(namespacey.js, 0, 0))
|
||||
>module : Symbol(export=, Decl(namespacey.js, 1, 18))
|
||||
>exports : Symbol(export=, Decl(namespacey.js, 1, 18))
|
||||
>A : Symbol(A, Decl(namespacey.js, 0, 5), Decl(namespacey.js, 0, 12))
|
||||
@@ -54,7 +54,7 @@ Object.defineProperty(B, "NS", { value: "why though", writable: true });
|
||||
>writable : Symbol(writable, Decl(namespacer.js, 2, 53))
|
||||
|
||||
module.exports = B;
|
||||
>module.exports : Symbol("tests/cases/compiler/namespacer", Decl(namespacer.js, 0, 0))
|
||||
>module.exports : Symbol(module.exports, Decl(namespacer.js, 0, 0))
|
||||
>module : Symbol(export=, Decl(namespacer.js, 2, 72))
|
||||
>exports : Symbol(export=, Decl(namespacer.js, 2, 72))
|
||||
>B : Symbol(B, Decl(namespacer.js, 0, 5), Decl(namespacer.js, 0, 12), Decl(namespacer.js, 2, 22))
|
||||
|
||||
+2
-2
@@ -39,7 +39,7 @@ A.bar = class Q {}
|
||||
module.exports = A;
|
||||
>module.exports = A : typeof A
|
||||
>module.exports : typeof A
|
||||
>module : { "\"tests/cases/compiler/namespacey\"": typeof A; }
|
||||
>module : { exports: typeof A; }
|
||||
>exports : typeof A
|
||||
>A : typeof A
|
||||
|
||||
@@ -73,7 +73,7 @@ Object.defineProperty(B, "NS", { value: "why though", writable: true });
|
||||
module.exports = B;
|
||||
>module.exports = B : typeof B
|
||||
>module.exports : typeof B
|
||||
>module : { "\"tests/cases/compiler/namespacer\"": typeof B; }
|
||||
>module : { exports: typeof B; }
|
||||
>exports : typeof B
|
||||
>B : typeof B
|
||||
|
||||
@@ -10,6 +10,6 @@ module.exports.b = {};
|
||||
>module.exports.b : Symbol(b, Decl(enumTagOnExports.js, 1, 15), Decl(enumTagOnExports.js, 4, 15), Decl(enumTagOnExports.js, 3, 4))
|
||||
>module.exports : Symbol(b, Decl(enumTagOnExports.js, 1, 15), Decl(enumTagOnExports.js, 4, 15), Decl(enumTagOnExports.js, 3, 4))
|
||||
>module : Symbol(module, Decl(enumTagOnExports.js, 1, 15))
|
||||
>exports : Symbol("tests/cases/conformance/jsdoc/enumTagOnExports", Decl(enumTagOnExports.js, 0, 0))
|
||||
>exports : Symbol(module.exports, Decl(enumTagOnExports.js, 0, 0))
|
||||
>b : Symbol(b, Decl(enumTagOnExports.js, 1, 15), Decl(enumTagOnExports.js, 4, 15), Decl(enumTagOnExports.js, 3, 4))
|
||||
|
||||
@@ -11,9 +11,9 @@ exports.a = {};
|
||||
module.exports.b = {};
|
||||
>module.exports.b = {} : {}
|
||||
>module.exports.b : typeof b
|
||||
>module.exports : typeof import("tests/cases/conformance/jsdoc/enumTagOnExports")
|
||||
>module : { "\"tests/cases/conformance/jsdoc/enumTagOnExports\"": typeof import("tests/cases/conformance/jsdoc/enumTagOnExports"); }
|
||||
>exports : typeof import("tests/cases/conformance/jsdoc/enumTagOnExports")
|
||||
>module.exports : typeof module.exports
|
||||
>module : { exports: typeof module.exports; }
|
||||
>exports : typeof module.exports
|
||||
>b : typeof b
|
||||
>{} : {}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
=== tests/cases/conformance/jsdoc/enumTagOnExports.js ===
|
||||
/** @enum {string} */
|
||||
module.exports = {};
|
||||
>module.exports : Symbol("tests/cases/conformance/jsdoc/enumTagOnExports", Decl(enumTagOnExports.js, 0, 0))
|
||||
>module.exports : Symbol(module.exports, Decl(enumTagOnExports.js, 0, 0))
|
||||
>module : Symbol(module, Decl(enumTagOnExports.js, 0, 0))
|
||||
>exports : Symbol("tests/cases/conformance/jsdoc/enumTagOnExports", Decl(enumTagOnExports.js, 0, 0))
|
||||
>exports : Symbol(module.exports, Decl(enumTagOnExports.js, 0, 0))
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
=== tests/cases/conformance/jsdoc/enumTagOnExports.js ===
|
||||
/** @enum {string} */
|
||||
module.exports = {};
|
||||
>module.exports = {} : typeof import("tests/cases/conformance/jsdoc/enumTagOnExports")
|
||||
>module.exports : typeof import("tests/cases/conformance/jsdoc/enumTagOnExports")
|
||||
>module : { "\"tests/cases/conformance/jsdoc/enumTagOnExports\"": typeof import("tests/cases/conformance/jsdoc/enumTagOnExports"); }
|
||||
>exports : typeof import("tests/cases/conformance/jsdoc/enumTagOnExports")
|
||||
>module.exports = {} : typeof module.exports
|
||||
>module.exports : typeof module.exports
|
||||
>module : { exports: typeof module.exports; }
|
||||
>exports : typeof module.exports
|
||||
>{} : {}
|
||||
|
||||
@@ -72,7 +72,7 @@ function foo() {
|
||||
* @type {MyComponentProps}
|
||||
*/
|
||||
module.exports = {
|
||||
>module.exports : Symbol("tests/cases/compiler/input", Decl(input.js, 0, 0))
|
||||
>module.exports : Symbol(module.exports, Decl(input.js, 0, 0))
|
||||
>module : Symbol(export=, Decl(input.js, 42, 1))
|
||||
>exports : Symbol(export=, Decl(input.js, 42, 1))
|
||||
|
||||
@@ -83,7 +83,7 @@ module.exports = {
|
||||
expectLiteral({ props: module.exports });
|
||||
>expectLiteral : Symbol(expectLiteral, Decl(input.js, 27, 27))
|
||||
>props : Symbol(props, Decl(input.js, 51, 15))
|
||||
>module.exports : Symbol("tests/cases/compiler/input", Decl(input.js, 0, 0))
|
||||
>module.exports : Symbol(module.exports, Decl(input.js, 0, 0))
|
||||
>module : Symbol(module, Decl(input.js, 42, 1), Decl(input.js, 51, 22))
|
||||
>exports : Symbol("tests/cases/compiler/input", Decl(input.js, 0, 0))
|
||||
>exports : Symbol(module.exports, Decl(input.js, 0, 0))
|
||||
|
||||
@@ -89,7 +89,7 @@ function foo() {
|
||||
module.exports = {
|
||||
>module.exports = { color: "red"} : MyComponentProps
|
||||
>module.exports : MyComponentProps
|
||||
>module : { "\"tests/cases/compiler/input\"": MyComponentProps; }
|
||||
>module : { exports: MyComponentProps; }
|
||||
>exports : MyComponentProps
|
||||
>{ color: "red"} : { color: "red"; }
|
||||
|
||||
@@ -104,6 +104,6 @@ expectLiteral({ props: module.exports });
|
||||
>{ props: module.exports } : { props: MyComponentProps; }
|
||||
>props : MyComponentProps
|
||||
>module.exports : MyComponentProps
|
||||
>module : { "\"tests/cases/compiler/input\"": MyComponentProps; }
|
||||
>module : { exports: MyComponentProps; }
|
||||
>exports : MyComponentProps
|
||||
|
||||
@@ -3,7 +3,7 @@ module.exports.D = class { }
|
||||
>module.exports.D : Symbol(D, Decl(bug24492.js, 0, 0))
|
||||
>module.exports : Symbol(D, Decl(bug24492.js, 0, 0))
|
||||
>module : Symbol(module, Decl(bug24492.js, 0, 0))
|
||||
>exports : Symbol("tests/cases/conformance/salsa/bug24492", Decl(bug24492.js, 0, 0))
|
||||
>exports : Symbol(module.exports, Decl(bug24492.js, 0, 0))
|
||||
>D : Symbol(D, Decl(bug24492.js, 0, 0))
|
||||
|
||||
new D()
|
||||
|
||||
@@ -2,9 +2,9 @@
|
||||
module.exports.D = class { }
|
||||
>module.exports.D = class { } : typeof D
|
||||
>module.exports.D : typeof D
|
||||
>module.exports : typeof import("tests/cases/conformance/salsa/bug24492")
|
||||
>module : { "\"tests/cases/conformance/salsa/bug24492\"": typeof import("tests/cases/conformance/salsa/bug24492"); }
|
||||
>exports : typeof import("tests/cases/conformance/salsa/bug24492")
|
||||
>module.exports : typeof module.exports
|
||||
>module : { exports: typeof module.exports; }
|
||||
>exports : typeof module.exports
|
||||
>D : typeof D
|
||||
>class { } : typeof D
|
||||
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
=== tests/cases/conformance/jsdoc/exportedAliasedEnumTag.js ===
|
||||
var middlewarify = module.exports = {};
|
||||
>middlewarify : Symbol(middlewarify, Decl(exportedAliasedEnumTag.js, 0, 3))
|
||||
>module.exports : Symbol("tests/cases/conformance/jsdoc/exportedAliasedEnumTag", Decl(exportedAliasedEnumTag.js, 0, 0))
|
||||
>module.exports : Symbol(module.exports, Decl(exportedAliasedEnumTag.js, 0, 0))
|
||||
>module : Symbol(module, Decl(exportedAliasedEnumTag.js, 0, 18))
|
||||
>exports : Symbol("tests/cases/conformance/jsdoc/exportedAliasedEnumTag", Decl(exportedAliasedEnumTag.js, 0, 0))
|
||||
>exports : Symbol(module.exports, Decl(exportedAliasedEnumTag.js, 0, 0))
|
||||
|
||||
/** @enum */
|
||||
middlewarify.Type = {
|
||||
|
||||
@@ -1,17 +1,17 @@
|
||||
=== tests/cases/conformance/jsdoc/exportedAliasedEnumTag.js ===
|
||||
var middlewarify = module.exports = {};
|
||||
>middlewarify : typeof import("tests/cases/conformance/jsdoc/exportedAliasedEnumTag")
|
||||
>module.exports = {} : typeof import("tests/cases/conformance/jsdoc/exportedAliasedEnumTag")
|
||||
>module.exports : typeof import("tests/cases/conformance/jsdoc/exportedAliasedEnumTag")
|
||||
>module : { "\"tests/cases/conformance/jsdoc/exportedAliasedEnumTag\"": typeof import("tests/cases/conformance/jsdoc/exportedAliasedEnumTag"); }
|
||||
>exports : typeof import("tests/cases/conformance/jsdoc/exportedAliasedEnumTag")
|
||||
>middlewarify : typeof module.exports
|
||||
>module.exports = {} : typeof module.exports
|
||||
>module.exports : typeof module.exports
|
||||
>module : { exports: typeof module.exports; }
|
||||
>exports : typeof module.exports
|
||||
>{} : {}
|
||||
|
||||
/** @enum */
|
||||
middlewarify.Type = {
|
||||
>middlewarify.Type = { BEFORE: 'before'} : { BEFORE: string; }
|
||||
>middlewarify.Type : { BEFORE: string; }
|
||||
>middlewarify : typeof import("tests/cases/conformance/jsdoc/exportedAliasedEnumTag")
|
||||
>middlewarify : typeof module.exports
|
||||
>Type : { BEFORE: string; }
|
||||
>{ BEFORE: 'before'} : { BEFORE: string; }
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
"containerName": "",
|
||||
"fileName": "/a.js",
|
||||
"kind": "local class",
|
||||
"name": "(local class) D",
|
||||
"name": "(local class) module.exports.D",
|
||||
"textSpan": {
|
||||
"start": 54,
|
||||
"length": 1
|
||||
@@ -37,9 +37,25 @@
|
||||
"text": " ",
|
||||
"kind": "space"
|
||||
},
|
||||
{
|
||||
"text": "module",
|
||||
"kind": "localName"
|
||||
},
|
||||
{
|
||||
"text": ".",
|
||||
"kind": "punctuation"
|
||||
},
|
||||
{
|
||||
"text": "exports",
|
||||
"kind": "moduleName"
|
||||
},
|
||||
{
|
||||
"text": ".",
|
||||
"kind": "punctuation"
|
||||
},
|
||||
{
|
||||
"text": "D",
|
||||
"kind": "className"
|
||||
"kind": "aliasName"
|
||||
}
|
||||
],
|
||||
"contextSpan": {
|
||||
|
||||
@@ -10,7 +10,7 @@ window.console; // should not have error: Property 'console' does not exist on t
|
||||
>console : Symbol(console, Decl(lib.dom.d.ts, --, --))
|
||||
|
||||
module.exports = 'anything';
|
||||
>module.exports : Symbol("tests/cases/conformance/salsa/bug27099", Decl(bug27099.js, 0, 0))
|
||||
>module.exports : Symbol(module.exports, Decl(bug27099.js, 0, 0))
|
||||
>module : Symbol(export=, Decl(bug27099.js, 1, 15))
|
||||
>exports : Symbol(export=, Decl(bug27099.js, 1, 15))
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ window.console; // should not have error: Property 'console' does not exist on t
|
||||
module.exports = 'anything';
|
||||
>module.exports = 'anything' : string
|
||||
>module.exports : string
|
||||
>module : { "\"tests/cases/conformance/salsa/bug27099\"": string; }
|
||||
>module : { exports: string; }
|
||||
>exports : string
|
||||
>'anything' : "anything"
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ class Alias {
|
||||
>bar : Symbol(Alias.bar, Decl(mod1.js, 0, 13))
|
||||
}
|
||||
module.exports = Alias;
|
||||
>module.exports : Symbol("tests/cases/conformance/salsa/mod1", Decl(mod1.js, 0, 0))
|
||||
>module.exports : Symbol(module.exports, Decl(mod1.js, 0, 0))
|
||||
>module : Symbol(export=, Decl(mod1.js, 2, 1))
|
||||
>exports : Symbol(export=, Decl(mod1.js, 2, 1))
|
||||
>Alias : Symbol(Alias, Decl(mod1.js, 0, 0))
|
||||
|
||||
@@ -9,7 +9,7 @@ class Alias {
|
||||
module.exports = Alias;
|
||||
>module.exports = Alias : typeof Alias
|
||||
>module.exports : typeof Alias
|
||||
>module : { "\"tests/cases/conformance/salsa/mod1\"": typeof Alias; }
|
||||
>module : { exports: typeof Alias; }
|
||||
>exports : typeof Alias
|
||||
>Alias : typeof Alias
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ class Bar extends Foo {}
|
||||
>Foo : Symbol(Foo, Decl(index.js, 0, 0))
|
||||
|
||||
module.exports = Bar;
|
||||
>module.exports : Symbol("tests/cases/compiler/index", Decl(index.js, 0, 0))
|
||||
>module.exports : Symbol(module.exports, Decl(index.js, 0, 0))
|
||||
>module : Symbol(export=, Decl(index.js, 2, 24))
|
||||
>exports : Symbol(export=, Decl(index.js, 2, 24))
|
||||
>Bar : Symbol(Bar, Decl(index.js, 0, 12))
|
||||
|
||||
@@ -9,7 +9,7 @@ class Bar extends Foo {}
|
||||
module.exports = Bar;
|
||||
>module.exports = Bar : typeof Bar
|
||||
>module.exports : typeof Bar
|
||||
>module : { "\"tests/cases/compiler/index\"": typeof Bar; }
|
||||
>module : { exports: typeof Bar; }
|
||||
>exports : typeof Bar
|
||||
>Bar : typeof Bar
|
||||
|
||||
@@ -6,7 +6,7 @@ const alias = {};
|
||||
>alias : Symbol(alias, Decl(a.js, 3, 5))
|
||||
|
||||
module.exports = alias;
|
||||
>module.exports : Symbol("/a", Decl(a.js, 0, 0))
|
||||
>module.exports : Symbol(module.exports, Decl(a.js, 0, 0))
|
||||
>module : Symbol(export=, Decl(a.js, 3, 17))
|
||||
>exports : Symbol(export=, Decl(a.js, 3, 17))
|
||||
>alias : Symbol(alias, Decl(a.js, 3, 5))
|
||||
|
||||
@@ -9,7 +9,7 @@ const alias = {};
|
||||
module.exports = alias;
|
||||
>module.exports = alias : {}
|
||||
>module.exports : {}
|
||||
>module : { "\"/a\"": {}; }
|
||||
>module : { exports: {}; }
|
||||
>exports : {}
|
||||
>alias : {}
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@ class Foo extends Bar {}
|
||||
>Bar : Symbol(Bar, Decl(cls.js, 0, 5))
|
||||
|
||||
module.exports = Foo;
|
||||
>module.exports : Symbol("tests/cases/conformance/jsdoc/declarations/cls", Decl(cls.js, 0, 0))
|
||||
>module.exports : Symbol(module.exports, Decl(cls.js, 0, 0))
|
||||
>module : Symbol(export=, Decl(cls.js, 5, 24))
|
||||
>exports : Symbol(export=, Decl(cls.js, 5, 24))
|
||||
>Foo : Symbol(Foo, Decl(cls.js, 4, 2))
|
||||
@@ -28,7 +28,7 @@ module.exports.Strings = Strings;
|
||||
>module.exports.Strings : Symbol(Strings, Decl(cls.js, 6, 21))
|
||||
>module.exports : Symbol(Strings, Decl(cls.js, 6, 21))
|
||||
>module : Symbol(module, Decl(cls.js, 5, 24))
|
||||
>exports : Symbol("tests/cases/conformance/jsdoc/declarations/cls", Decl(cls.js, 0, 0))
|
||||
>exports : Symbol(module.exports, Decl(cls.js, 0, 0))
|
||||
>Strings : Symbol(Strings, Decl(cls.js, 6, 21))
|
||||
>Strings : Symbol(Strings, Decl(cls.js, 1, 5))
|
||||
|
||||
@@ -37,7 +37,7 @@ class Bar {}
|
||||
>Bar : Symbol(Bar, Decl(bar.js, 0, 0))
|
||||
|
||||
module.exports = Bar;
|
||||
>module.exports : Symbol("tests/cases/conformance/jsdoc/declarations/bar", Decl(bar.js, 0, 0))
|
||||
>module.exports : Symbol(module.exports, Decl(bar.js, 0, 0))
|
||||
>module : Symbol(export=, Decl(bar.js, 0, 12))
|
||||
>exports : Symbol(export=, Decl(bar.js, 0, 12))
|
||||
>Bar : Symbol(Bar, Decl(bar.js, 0, 0))
|
||||
|
||||
@@ -25,7 +25,7 @@ class Foo extends Bar {}
|
||||
module.exports = Foo;
|
||||
>module.exports = Foo : typeof Foo
|
||||
>module.exports : typeof Foo
|
||||
>module : { "\"tests/cases/conformance/jsdoc/declarations/cls\"": typeof Foo; }
|
||||
>module : { exports: typeof Foo; }
|
||||
>exports : typeof Foo
|
||||
>Foo : typeof Foo
|
||||
|
||||
@@ -33,7 +33,7 @@ module.exports.Strings = Strings;
|
||||
>module.exports.Strings = Strings : { a: string; b: string; }
|
||||
>module.exports.Strings : { a: string; b: string; }
|
||||
>module.exports : typeof Foo
|
||||
>module : { "\"tests/cases/conformance/jsdoc/declarations/cls\"": typeof Foo; }
|
||||
>module : { exports: typeof Foo; }
|
||||
>exports : typeof Foo
|
||||
>Strings : { a: string; b: string; }
|
||||
>Strings : { a: string; b: string; }
|
||||
@@ -45,7 +45,7 @@ class Bar {}
|
||||
module.exports = Bar;
|
||||
>module.exports = Bar : typeof Bar
|
||||
>module.exports : typeof Bar
|
||||
>module : { "\"tests/cases/conformance/jsdoc/declarations/bar\"": typeof Bar; }
|
||||
>module : { exports: typeof Bar; }
|
||||
>exports : typeof Bar
|
||||
>Bar : typeof Bar
|
||||
|
||||
@@ -28,7 +28,7 @@ const Strings = {
|
||||
}
|
||||
|
||||
module.exports = Handler;
|
||||
>module.exports : Symbol("tests/cases/conformance/jsdoc/declarations/source", Decl(source.js, 0, 0))
|
||||
>module.exports : Symbol(module.exports, Decl(source.js, 0, 0))
|
||||
>module : Symbol(export=, Decl(source.js, 12, 1))
|
||||
>exports : Symbol(export=, Decl(source.js, 12, 1))
|
||||
>Handler : Symbol(Handler, Decl(source.js, 0, 0), Decl(source.js, 7, 1))
|
||||
@@ -37,7 +37,7 @@ module.exports.Strings = Strings
|
||||
>module.exports.Strings : Symbol(Strings, Decl(source.js, 14, 25))
|
||||
>module.exports : Symbol(Strings, Decl(source.js, 14, 25))
|
||||
>module : Symbol(module, Decl(source.js, 12, 1))
|
||||
>exports : Symbol("tests/cases/conformance/jsdoc/declarations/source", Decl(source.js, 0, 0))
|
||||
>exports : Symbol(module.exports, Decl(source.js, 0, 0))
|
||||
>Strings : Symbol(Strings, Decl(source.js, 14, 25))
|
||||
>Strings : Symbol(Strings, Decl(source.js, 9, 5))
|
||||
|
||||
|
||||
@@ -36,7 +36,7 @@ const Strings = {
|
||||
module.exports = Handler;
|
||||
>module.exports = Handler : typeof Handler
|
||||
>module.exports : typeof Handler
|
||||
>module : { "\"tests/cases/conformance/jsdoc/declarations/source\"": typeof Handler; }
|
||||
>module : { exports: typeof Handler; }
|
||||
>exports : typeof Handler
|
||||
>Handler : typeof Handler
|
||||
|
||||
@@ -44,7 +44,7 @@ module.exports.Strings = Strings
|
||||
>module.exports.Strings = Strings : { a: string; b: string; }
|
||||
>module.exports.Strings : { a: string; b: string; }
|
||||
>module.exports : typeof Handler
|
||||
>module : { "\"tests/cases/conformance/jsdoc/declarations/source\"": typeof Handler; }
|
||||
>module : { exports: typeof Handler; }
|
||||
>exports : typeof Handler
|
||||
>Strings : { a: string; b: string; }
|
||||
>Strings : { a: string; b: string; }
|
||||
|
||||
@@ -8,9 +8,9 @@ const Thing = require('./thing').Thing
|
||||
>Thing : Symbol(Thing, Decl(thing.js, 2, 18))
|
||||
|
||||
module.exports = { Thing }
|
||||
>module.exports : Symbol("tests/cases/conformance/jsdoc/declarations/reexport", Decl(reexport.js, 0, 0))
|
||||
>module.exports : Symbol(module.exports, Decl(reexport.js, 0, 0))
|
||||
>module : Symbol(module, Decl(reexport.js, 1, 38))
|
||||
>exports : Symbol("tests/cases/conformance/jsdoc/declarations/reexport", Decl(reexport.js, 0, 0))
|
||||
>exports : Symbol(module.exports, Decl(reexport.js, 0, 0))
|
||||
>Thing : Symbol(Thing, Decl(reexport.js, 2, 18))
|
||||
|
||||
=== tests/cases/conformance/jsdoc/declarations/thing.js ===
|
||||
@@ -19,8 +19,8 @@ class Thing {}
|
||||
>Thing : Symbol(Thing, Decl(thing.js, 0, 13))
|
||||
|
||||
module.exports = { Thing }
|
||||
>module.exports : Symbol("tests/cases/conformance/jsdoc/declarations/thing", Decl(thing.js, 0, 0))
|
||||
>module.exports : Symbol(module.exports, Decl(thing.js, 0, 0))
|
||||
>module : Symbol(module, Decl(thing.js, 1, 14))
|
||||
>exports : Symbol("tests/cases/conformance/jsdoc/declarations/thing", Decl(thing.js, 0, 0))
|
||||
>exports : Symbol(module.exports, Decl(thing.js, 0, 0))
|
||||
>Thing : Symbol(Thing, Decl(thing.js, 2, 18))
|
||||
|
||||
@@ -11,10 +11,10 @@ const Thing = require('./thing').Thing
|
||||
>Thing : typeof Thing
|
||||
|
||||
module.exports = { Thing }
|
||||
>module.exports = { Thing } : typeof import("tests/cases/conformance/jsdoc/declarations/reexport")
|
||||
>module.exports : typeof import("tests/cases/conformance/jsdoc/declarations/reexport")
|
||||
>module : { "\"tests/cases/conformance/jsdoc/declarations/reexport\"": typeof import("tests/cases/conformance/jsdoc/declarations/reexport"); }
|
||||
>exports : typeof import("tests/cases/conformance/jsdoc/declarations/reexport")
|
||||
>module.exports = { Thing } : typeof module.exports
|
||||
>module.exports : typeof module.exports
|
||||
>module : { exports: typeof module.exports; }
|
||||
>exports : typeof module.exports
|
||||
>{ Thing } : { Thing: typeof Thing; }
|
||||
>Thing : typeof Thing
|
||||
|
||||
@@ -26,10 +26,10 @@ class Thing {}
|
||||
>Thing : Thing
|
||||
|
||||
module.exports = { Thing }
|
||||
>module.exports = { Thing } : typeof import("tests/cases/conformance/jsdoc/declarations/thing")
|
||||
>module.exports : typeof import("tests/cases/conformance/jsdoc/declarations/thing")
|
||||
>module : { "\"tests/cases/conformance/jsdoc/declarations/thing\"": typeof import("tests/cases/conformance/jsdoc/declarations/thing"); }
|
||||
>exports : typeof import("tests/cases/conformance/jsdoc/declarations/thing")
|
||||
>module.exports = { Thing } : typeof module.exports
|
||||
>module.exports : typeof module.exports
|
||||
>module : { exports: typeof module.exports; }
|
||||
>exports : typeof module.exports
|
||||
>{ Thing } : { Thing: typeof Thing; }
|
||||
>Thing : typeof Thing
|
||||
|
||||
@@ -8,7 +8,7 @@ const InnerSym = Symbol();
|
||||
>Symbol : Symbol(Symbol, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.symbol.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --))
|
||||
|
||||
module.exports = {
|
||||
>module.exports : Symbol("tests/cases/conformance/jsdoc/declarations/index", Decl(index.js, 0, 0))
|
||||
>module.exports : Symbol(module.exports, Decl(index.js, 0, 0))
|
||||
>module : Symbol(export=, Decl(index.js, 1, 26))
|
||||
>exports : Symbol(export=, Decl(index.js, 1, 26))
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@ const InnerSym = Symbol();
|
||||
module.exports = {
|
||||
>module.exports = { [TopLevelSym](x = 12) { return x; }, items: { [InnerSym]: (arg = {x: 12}) => arg.x }} : { [TopLevelSym](x?: number): number; items: { [InnerSym]: (arg?: { x: number; }) => number; }; }
|
||||
>module.exports : { [TopLevelSym](x?: number): number; items: { [InnerSym]: (arg?: { x: number; }) => number; }; }
|
||||
>module : { "\"tests/cases/conformance/jsdoc/declarations/index\"": { [TopLevelSym](x?: number): number; items: { [InnerSym]: (arg?: { x: number; }) => number; }; }; }
|
||||
>module : { exports: { [TopLevelSym](x?: number): number; items: { [InnerSym]: (arg?: { x: number; }) => number; }; }; }
|
||||
>exports : { [TopLevelSym](x?: number): number; items: { [InnerSym]: (arg?: { x: number; }) => number; }; }
|
||||
>{ [TopLevelSym](x = 12) { return x; }, items: { [InnerSym]: (arg = {x: 12}) => arg.x }} : { [TopLevelSym](x?: number): number; items: { [InnerSym]: (arg?: { x: number; }) => number; }; }
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@ const m = require("./exporter");
|
||||
>"./exporter" : Symbol(m, Decl(exporter.js, 0, 0))
|
||||
|
||||
module.exports = m.default;
|
||||
>module.exports : Symbol("tests/cases/conformance/jsdoc/declarations/index", Decl(index.js, 0, 0))
|
||||
>module.exports : Symbol(module.exports, Decl(index.js, 0, 0))
|
||||
>module : Symbol(export=, Decl(index.js, 0, 32))
|
||||
>exports : Symbol(export=, Decl(index.js, 0, 32))
|
||||
>m.default : Symbol(m.default, Decl(exporter.js, 0, 22))
|
||||
@@ -16,7 +16,7 @@ module.exports.memberName = "thing";
|
||||
>module.exports.memberName : Symbol(memberName, Decl(index.js, 2, 27))
|
||||
>module.exports : Symbol(memberName, Decl(index.js, 2, 27))
|
||||
>module : Symbol(module, Decl(index.js, 0, 32))
|
||||
>exports : Symbol("tests/cases/conformance/jsdoc/declarations/index", Decl(index.js, 0, 0))
|
||||
>exports : Symbol(module.exports, Decl(index.js, 0, 0))
|
||||
>memberName : Symbol(memberName, Decl(index.js, 2, 27))
|
||||
|
||||
=== tests/cases/conformance/jsdoc/declarations/exporter.js ===
|
||||
|
||||
@@ -8,7 +8,7 @@ const m = require("./exporter");
|
||||
module.exports = m.default;
|
||||
>module.exports = m.default : typeof m.default
|
||||
>module.exports : typeof m.default
|
||||
>module : { "\"tests/cases/conformance/jsdoc/declarations/index\"": typeof m.default; }
|
||||
>module : { exports: typeof m.default; }
|
||||
>exports : typeof m.default
|
||||
>m.default : { (): void; memberName: string; }
|
||||
>m : typeof m
|
||||
@@ -18,7 +18,7 @@ module.exports.memberName = "thing";
|
||||
>module.exports.memberName = "thing" : "thing"
|
||||
>module.exports.memberName : string
|
||||
>module.exports : typeof m.default
|
||||
>module : { "\"tests/cases/conformance/jsdoc/declarations/index\"": typeof m.default; }
|
||||
>module : { exports: typeof m.default; }
|
||||
>exports : typeof m.default
|
||||
>memberName : string
|
||||
>"thing" : "thing"
|
||||
|
||||
@@ -19,9 +19,9 @@ function b() {
|
||||
}
|
||||
|
||||
module.exports = {x, b}
|
||||
>module.exports : Symbol("tests/cases/conformance/jsdoc/declarations/index1", Decl(index1.js, 0, 0))
|
||||
>module.exports : Symbol(module.exports, Decl(index1.js, 0, 0))
|
||||
>module : Symbol(module, Decl(index1.js, 12, 1))
|
||||
>exports : Symbol("tests/cases/conformance/jsdoc/declarations/index1", Decl(index1.js, 0, 0))
|
||||
>exports : Symbol(module.exports, Decl(index1.js, 0, 0))
|
||||
>x : Symbol(x, Decl(index1.js, 14, 18))
|
||||
>b : Symbol(b, Decl(index1.js, 14, 20))
|
||||
|
||||
@@ -23,10 +23,10 @@ function b() {
|
||||
}
|
||||
|
||||
module.exports = {x, b}
|
||||
>module.exports = {x, b} : typeof import("tests/cases/conformance/jsdoc/declarations/index1")
|
||||
>module.exports : typeof import("tests/cases/conformance/jsdoc/declarations/index1")
|
||||
>module : { "\"tests/cases/conformance/jsdoc/declarations/index1\"": typeof import("tests/cases/conformance/jsdoc/declarations/index1"); }
|
||||
>exports : typeof import("tests/cases/conformance/jsdoc/declarations/index1")
|
||||
>module.exports = {x, b} : typeof module.exports
|
||||
>module.exports : typeof module.exports
|
||||
>module : { exports: typeof module.exports; }
|
||||
>exports : typeof module.exports
|
||||
>{x, b} : { x: (a: any) => string; b: () => number; }
|
||||
>x : (a: any) => string
|
||||
>b : () => number
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
=== tests/cases/conformance/jsdoc/declarations/index.js ===
|
||||
module.exports = class Thing {
|
||||
>module.exports : Symbol("tests/cases/conformance/jsdoc/declarations/index", Decl(index.js, 0, 0))
|
||||
>module.exports : Symbol(module.exports, Decl(index.js, 0, 0))
|
||||
>module : Symbol(export=, Decl(index.js, 0, 0))
|
||||
>exports : Symbol(export=, Decl(index.js, 0, 0))
|
||||
>Thing : Symbol(Thing, Decl(index.js, 0, 16))
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
module.exports = class Thing {
|
||||
>module.exports = class Thing { /** * @param {number} p */ constructor(p) { this.t = 12 + p; }} : typeof import("tests/cases/conformance/jsdoc/declarations/index")
|
||||
>module.exports : typeof import("tests/cases/conformance/jsdoc/declarations/index")
|
||||
>module : { "\"tests/cases/conformance/jsdoc/declarations/index\"": typeof import("tests/cases/conformance/jsdoc/declarations/index"); }
|
||||
>module : { exports: typeof import("tests/cases/conformance/jsdoc/declarations/index"); }
|
||||
>exports : typeof import("tests/cases/conformance/jsdoc/declarations/index")
|
||||
>class Thing { /** * @param {number} p */ constructor(p) { this.t = 12 + p; }} : typeof import("tests/cases/conformance/jsdoc/declarations/index")
|
||||
>Thing : typeof import("tests/cases/conformance/jsdoc/declarations/index")
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
=== tests/cases/conformance/jsdoc/declarations/index.js ===
|
||||
module.exports = class {
|
||||
>module.exports : Symbol("tests/cases/conformance/jsdoc/declarations/index", Decl(index.js, 0, 0))
|
||||
>module.exports : Symbol(module.exports, Decl(index.js, 0, 0))
|
||||
>module : Symbol(export=, Decl(index.js, 0, 0))
|
||||
>exports : Symbol(export=, Decl(index.js, 0, 0))
|
||||
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@
|
||||
module.exports = class {
|
||||
>module.exports = class { /** * @param {number} p */ constructor(p) { this.t = 12 + p; }} : typeof import("tests/cases/conformance/jsdoc/declarations/index")
|
||||
>module.exports : typeof import("tests/cases/conformance/jsdoc/declarations/index")
|
||||
>module : { "\"tests/cases/conformance/jsdoc/declarations/index\"": typeof import("tests/cases/conformance/jsdoc/declarations/index"); }
|
||||
>module : { exports: typeof import("tests/cases/conformance/jsdoc/declarations/index"); }
|
||||
>exports : typeof import("tests/cases/conformance/jsdoc/declarations/index")
|
||||
>class { /** * @param {number} p */ constructor(p) { this.t = 12 + p; }} : typeof import("tests/cases/conformance/jsdoc/declarations/index")
|
||||
|
||||
|
||||
+4
-4
@@ -1,6 +1,6 @@
|
||||
=== tests/cases/conformance/jsdoc/declarations/index.js ===
|
||||
module.exports = class {
|
||||
>module.exports : Symbol("tests/cases/conformance/jsdoc/declarations/index", Decl(index.js, 0, 0))
|
||||
>module.exports : Symbol(module.exports, Decl(index.js, 0, 0))
|
||||
>module : Symbol(export=, Decl(index.js, 0, 0))
|
||||
>exports : Symbol(export=, Decl(index.js, 0, 0))
|
||||
|
||||
@@ -21,7 +21,7 @@ module.exports.Sub = class {
|
||||
>module.exports.Sub : Symbol(Sub, Decl(index.js, 7, 1))
|
||||
>module.exports : Symbol(Sub, Decl(index.js, 7, 1))
|
||||
>module : Symbol(module, Decl(index.js, 0, 0), Decl(index.js, 10, 27))
|
||||
>exports : Symbol("tests/cases/conformance/jsdoc/declarations/index", Decl(index.js, 0, 0))
|
||||
>exports : Symbol(module.exports, Decl(index.js, 0, 0))
|
||||
>Sub : Symbol(Sub, Decl(index.js, 7, 1))
|
||||
|
||||
constructor() {
|
||||
@@ -29,9 +29,9 @@ module.exports.Sub = class {
|
||||
>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("tests/cases/conformance/jsdoc/declarations/index", Decl(index.js, 0, 0))
|
||||
>module.exports : Symbol(module.exports, Decl(index.js, 0, 0))
|
||||
>module : Symbol(module, Decl(index.js, 0, 0), Decl(index.js, 10, 27))
|
||||
>exports : Symbol("tests/cases/conformance/jsdoc/declarations/index", Decl(index.js, 0, 0))
|
||||
>exports : Symbol(module.exports, Decl(index.js, 0, 0))
|
||||
}
|
||||
}
|
||||
|
||||
+3
-3
@@ -2,7 +2,7 @@
|
||||
module.exports = class {
|
||||
>module.exports = class { /** * @param {number} p */ constructor(p) { this.t = 12 + p; }} : typeof import("tests/cases/conformance/jsdoc/declarations/index")
|
||||
>module.exports : typeof import("tests/cases/conformance/jsdoc/declarations/index")
|
||||
>module : { "\"tests/cases/conformance/jsdoc/declarations/index\"": typeof import("tests/cases/conformance/jsdoc/declarations/index"); }
|
||||
>module : { exports: typeof import("tests/cases/conformance/jsdoc/declarations/index"); }
|
||||
>exports : typeof import("tests/cases/conformance/jsdoc/declarations/index")
|
||||
>class { /** * @param {number} p */ constructor(p) { this.t = 12 + p; }} : typeof import("tests/cases/conformance/jsdoc/declarations/index")
|
||||
|
||||
@@ -26,7 +26,7 @@ module.exports.Sub = class {
|
||||
>module.exports.Sub = class { constructor() { this.instance = new module.exports(10); }} : typeof Sub
|
||||
>module.exports.Sub : typeof Sub
|
||||
>module.exports : typeof import("tests/cases/conformance/jsdoc/declarations/index")
|
||||
>module : { "\"tests/cases/conformance/jsdoc/declarations/index\"": typeof import("tests/cases/conformance/jsdoc/declarations/index"); }
|
||||
>module : { exports: typeof import("tests/cases/conformance/jsdoc/declarations/index"); }
|
||||
>exports : typeof import("tests/cases/conformance/jsdoc/declarations/index")
|
||||
>Sub : typeof Sub
|
||||
>class { constructor() { this.instance = new module.exports(10); }} : typeof Sub
|
||||
@@ -39,7 +39,7 @@ module.exports.Sub = class {
|
||||
>instance : any
|
||||
>new module.exports(10) : import("tests/cases/conformance/jsdoc/declarations/index")
|
||||
>module.exports : typeof import("tests/cases/conformance/jsdoc/declarations/index")
|
||||
>module : { "\"tests/cases/conformance/jsdoc/declarations/index\"": typeof import("tests/cases/conformance/jsdoc/declarations/index"); }
|
||||
>module : { exports: typeof import("tests/cases/conformance/jsdoc/declarations/index"); }
|
||||
>exports : typeof import("tests/cases/conformance/jsdoc/declarations/index")
|
||||
>10 : 10
|
||||
}
|
||||
|
||||
+2
-2
@@ -13,7 +13,7 @@ class Q {
|
||||
>x : Symbol(Q.x, Decl(index.js, 3, 9))
|
||||
}
|
||||
module.exports = class Q {
|
||||
>module.exports : Symbol("tests/cases/conformance/jsdoc/declarations/index", Decl(index.js, 0, 0))
|
||||
>module.exports : Symbol(module.exports, Decl(index.js, 0, 0))
|
||||
>module : Symbol(export=, Decl(index.js, 5, 1))
|
||||
>exports : Symbol(export=, Decl(index.js, 5, 1))
|
||||
>Q : Symbol(Q, Decl(index.js, 6, 16))
|
||||
@@ -30,7 +30,7 @@ module.exports.Another = Q;
|
||||
>module.exports.Another : Symbol(Another, Decl(index.js, 10, 1))
|
||||
>module.exports : Symbol(Another, Decl(index.js, 10, 1))
|
||||
>module : Symbol(module, Decl(index.js, 5, 1))
|
||||
>exports : Symbol("tests/cases/conformance/jsdoc/declarations/index", Decl(index.js, 0, 0))
|
||||
>exports : Symbol(module.exports, Decl(index.js, 0, 0))
|
||||
>Another : Symbol(Another, Decl(index.js, 10, 1))
|
||||
>Q : Symbol(Q, Decl(index.js, 2, 1))
|
||||
|
||||
+2
-2
@@ -17,7 +17,7 @@ class Q {
|
||||
module.exports = class Q {
|
||||
>module.exports = class Q { constructor() { this.x = new A(); }} : typeof import("tests/cases/conformance/jsdoc/declarations/index")
|
||||
>module.exports : typeof import("tests/cases/conformance/jsdoc/declarations/index")
|
||||
>module : { "\"tests/cases/conformance/jsdoc/declarations/index\"": typeof import("tests/cases/conformance/jsdoc/declarations/index"); }
|
||||
>module : { exports: typeof import("tests/cases/conformance/jsdoc/declarations/index"); }
|
||||
>exports : typeof import("tests/cases/conformance/jsdoc/declarations/index")
|
||||
>class Q { constructor() { this.x = new A(); }} : typeof import("tests/cases/conformance/jsdoc/declarations/index")
|
||||
>Q : typeof import("tests/cases/conformance/jsdoc/declarations/index")
|
||||
@@ -36,7 +36,7 @@ module.exports.Another = Q;
|
||||
>module.exports.Another = Q : typeof Q
|
||||
>module.exports.Another : typeof Q
|
||||
>module.exports : typeof import("tests/cases/conformance/jsdoc/declarations/index")
|
||||
>module : { "\"tests/cases/conformance/jsdoc/declarations/index\"": typeof import("tests/cases/conformance/jsdoc/declarations/index"); }
|
||||
>module : { exports: typeof import("tests/cases/conformance/jsdoc/declarations/index"); }
|
||||
>exports : typeof import("tests/cases/conformance/jsdoc/declarations/index")
|
||||
>Another : typeof Q
|
||||
>Q : typeof Q
|
||||
|
||||
@@ -3,7 +3,7 @@ class Foo {}
|
||||
>Foo : Symbol(Foo, Decl(index.js, 0, 0))
|
||||
|
||||
module.exports = new Foo();
|
||||
>module.exports : Symbol("tests/cases/conformance/jsdoc/declarations/index", Decl(index.js, 0, 0))
|
||||
>module.exports : Symbol(module.exports, Decl(index.js, 0, 0))
|
||||
>module : Symbol(export=, Decl(index.js, 0, 12))
|
||||
>exports : Symbol(export=, Decl(index.js, 0, 12))
|
||||
>Foo : Symbol(Foo, Decl(index.js, 0, 0))
|
||||
|
||||
@@ -5,7 +5,7 @@ class Foo {}
|
||||
module.exports = new Foo();
|
||||
>module.exports = new Foo() : Foo
|
||||
>module.exports : Foo
|
||||
>module : { "\"tests/cases/conformance/jsdoc/declarations/index\"": Foo; }
|
||||
>module : { exports: Foo; }
|
||||
>exports : Foo
|
||||
>new Foo() : Foo
|
||||
>Foo : typeof Foo
|
||||
|
||||
@@ -10,7 +10,7 @@ class Foo {
|
||||
}
|
||||
|
||||
module.exports = new Foo();
|
||||
>module.exports : Symbol("tests/cases/conformance/jsdoc/declarations/index", Decl(index.js, 0, 0))
|
||||
>module.exports : Symbol(module.exports, Decl(index.js, 0, 0))
|
||||
>module : Symbol(export=, Decl(index.js, 3, 1))
|
||||
>exports : Symbol(export=, Decl(index.js, 3, 1))
|
||||
>Foo : Symbol(Foo, Decl(index.js, 0, 0))
|
||||
|
||||
@@ -14,7 +14,7 @@ class Foo {
|
||||
module.exports = new Foo();
|
||||
>module.exports = new Foo() : Foo
|
||||
>module.exports : Foo
|
||||
>module : { "\"tests/cases/conformance/jsdoc/declarations/index\"": Foo; }
|
||||
>module : { exports: Foo; }
|
||||
>exports : Foo
|
||||
>new Foo() : Foo
|
||||
>Foo : typeof Foo
|
||||
|
||||
@@ -10,7 +10,7 @@ class Foo {
|
||||
}
|
||||
|
||||
module.exports = new Foo();
|
||||
>module.exports : Symbol("tests/cases/conformance/jsdoc/declarations/index", Decl(index.js, 0, 0))
|
||||
>module.exports : Symbol(module.exports, Decl(index.js, 0, 0))
|
||||
>module : Symbol(export=, Decl(index.js, 3, 1))
|
||||
>exports : Symbol(export=, Decl(index.js, 3, 1))
|
||||
>Foo : Symbol(Foo, Decl(index.js, 0, 0))
|
||||
@@ -19,6 +19,6 @@ module.exports.additional = 20;
|
||||
>module.exports.additional : Symbol(additional, Decl(index.js, 5, 27))
|
||||
>module.exports : Symbol(additional, Decl(index.js, 5, 27))
|
||||
>module : Symbol(module, Decl(index.js, 3, 1))
|
||||
>exports : Symbol("tests/cases/conformance/jsdoc/declarations/index", Decl(index.js, 0, 0))
|
||||
>exports : Symbol(module.exports, Decl(index.js, 0, 0))
|
||||
>additional : Symbol(additional, Decl(index.js, 5, 27))
|
||||
|
||||
@@ -14,7 +14,7 @@ class Foo {
|
||||
module.exports = new Foo();
|
||||
>module.exports = new Foo() : { member: number; additional: number; }
|
||||
>module.exports : { member: number; additional: number; }
|
||||
>module : { "\"tests/cases/conformance/jsdoc/declarations/index\"": { member: number; additional: number; }; }
|
||||
>module : { exports: { member: number; additional: number; }; }
|
||||
>exports : { member: number; additional: number; }
|
||||
>new Foo() : Foo
|
||||
>Foo : typeof Foo
|
||||
@@ -23,7 +23,7 @@ module.exports.additional = 20;
|
||||
>module.exports.additional = 20 : 20
|
||||
>module.exports.additional : number
|
||||
>module.exports : { member: number; additional: number; }
|
||||
>module : { "\"tests/cases/conformance/jsdoc/declarations/index\"": { member: number; additional: number; }; }
|
||||
>module : { exports: { member: number; additional: number; }; }
|
||||
>exports : { member: number; additional: number; }
|
||||
>additional : number
|
||||
>20 : 20
|
||||
|
||||
@@ -4,7 +4,7 @@ module.exports.MyClass = function() {
|
||||
>module.exports.MyClass : Symbol(MyClass, Decl(jsDeclarationsExportAssignedConstructorFunction.js, 0, 0), Decl(jsDeclarationsExportAssignedConstructorFunction.js, 4, 15))
|
||||
>module.exports : Symbol(MyClass, Decl(jsDeclarationsExportAssignedConstructorFunction.js, 0, 0), Decl(jsDeclarationsExportAssignedConstructorFunction.js, 4, 15))
|
||||
>module : Symbol(module, Decl(jsDeclarationsExportAssignedConstructorFunction.js, 0, 0))
|
||||
>exports : Symbol("tests/cases/conformance/jsdoc/declarations/jsDeclarationsExportAssignedConstructorFunction", Decl(jsDeclarationsExportAssignedConstructorFunction.js, 0, 0))
|
||||
>exports : Symbol(module.exports, Decl(jsDeclarationsExportAssignedConstructorFunction.js, 0, 0))
|
||||
>MyClass : Symbol(MyClass, Decl(jsDeclarationsExportAssignedConstructorFunction.js, 0, 0), Decl(jsDeclarationsExportAssignedConstructorFunction.js, 4, 15))
|
||||
|
||||
this.x = 1
|
||||
@@ -15,9 +15,9 @@ module.exports.MyClass = function() {
|
||||
module.exports.MyClass.prototype = {
|
||||
>module.exports.MyClass.prototype : Symbol(MyClass.prototype, Decl(jsDeclarationsExportAssignedConstructorFunction.js, 3, 1))
|
||||
>module.exports.MyClass : Symbol(MyClass, Decl(jsDeclarationsExportAssignedConstructorFunction.js, 0, 0), Decl(jsDeclarationsExportAssignedConstructorFunction.js, 4, 15))
|
||||
>module.exports : Symbol("tests/cases/conformance/jsdoc/declarations/jsDeclarationsExportAssignedConstructorFunction", Decl(jsDeclarationsExportAssignedConstructorFunction.js, 0, 0))
|
||||
>module.exports : Symbol(module.exports, Decl(jsDeclarationsExportAssignedConstructorFunction.js, 0, 0))
|
||||
>module : Symbol(module, Decl(jsDeclarationsExportAssignedConstructorFunction.js, 0, 0))
|
||||
>exports : Symbol("tests/cases/conformance/jsdoc/declarations/jsDeclarationsExportAssignedConstructorFunction", Decl(jsDeclarationsExportAssignedConstructorFunction.js, 0, 0))
|
||||
>exports : Symbol(module.exports, Decl(jsDeclarationsExportAssignedConstructorFunction.js, 0, 0))
|
||||
>MyClass : Symbol(MyClass, Decl(jsDeclarationsExportAssignedConstructorFunction.js, 0, 0), Decl(jsDeclarationsExportAssignedConstructorFunction.js, 4, 15))
|
||||
>prototype : Symbol(MyClass.prototype, Decl(jsDeclarationsExportAssignedConstructorFunction.js, 3, 1))
|
||||
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
module.exports.MyClass = function() {
|
||||
>module.exports.MyClass = function() { this.x = 1} : typeof MyClass
|
||||
>module.exports.MyClass : typeof MyClass
|
||||
>module.exports : typeof import("tests/cases/conformance/jsdoc/declarations/jsDeclarationsExportAssignedConstructorFunction")
|
||||
>module : { "\"tests/cases/conformance/jsdoc/declarations/jsDeclarationsExportAssignedConstructorFunction\"": typeof import("tests/cases/conformance/jsdoc/declarations/jsDeclarationsExportAssignedConstructorFunction"); }
|
||||
>exports : typeof import("tests/cases/conformance/jsdoc/declarations/jsDeclarationsExportAssignedConstructorFunction")
|
||||
>module.exports : typeof module.exports
|
||||
>module : { exports: typeof module.exports; }
|
||||
>exports : typeof module.exports
|
||||
>MyClass : typeof MyClass
|
||||
>function() { this.x = 1} : typeof MyClass
|
||||
|
||||
@@ -20,9 +20,9 @@ module.exports.MyClass.prototype = {
|
||||
>module.exports.MyClass.prototype = { a: function() { }} : { a: () => void; }
|
||||
>module.exports.MyClass.prototype : { a: () => void; }
|
||||
>module.exports.MyClass : typeof MyClass
|
||||
>module.exports : typeof import("tests/cases/conformance/jsdoc/declarations/jsDeclarationsExportAssignedConstructorFunction")
|
||||
>module : { "\"tests/cases/conformance/jsdoc/declarations/jsDeclarationsExportAssignedConstructorFunction\"": typeof import("tests/cases/conformance/jsdoc/declarations/jsDeclarationsExportAssignedConstructorFunction"); }
|
||||
>exports : typeof import("tests/cases/conformance/jsdoc/declarations/jsDeclarationsExportAssignedConstructorFunction")
|
||||
>module.exports : typeof module.exports
|
||||
>module : { exports: typeof module.exports; }
|
||||
>exports : typeof module.exports
|
||||
>MyClass : typeof MyClass
|
||||
>prototype : { a: () => void; }
|
||||
>{ a: function() { }} : { a: () => void; }
|
||||
|
||||
+6
-6
@@ -3,7 +3,7 @@
|
||||
* @param {number} p
|
||||
*/
|
||||
module.exports = function (p) {
|
||||
>module.exports : Symbol("tests/cases/conformance/jsdoc/declarations/jsDeclarationsExportAssignedConstructorFunctionWithSub", Decl(jsDeclarationsExportAssignedConstructorFunctionWithSub.js, 0, 0))
|
||||
>module.exports : Symbol(module.exports, Decl(jsDeclarationsExportAssignedConstructorFunctionWithSub.js, 0, 0))
|
||||
>module : Symbol(export=, Decl(jsDeclarationsExportAssignedConstructorFunctionWithSub.js, 0, 0))
|
||||
>exports : Symbol(export=, Decl(jsDeclarationsExportAssignedConstructorFunctionWithSub.js, 0, 0))
|
||||
>p : Symbol(p, Decl(jsDeclarationsExportAssignedConstructorFunctionWithSub.js, 3, 27))
|
||||
@@ -18,23 +18,23 @@ module.exports.Sub = function() {
|
||||
>module.exports.Sub : Symbol(Sub, Decl(jsDeclarationsExportAssignedConstructorFunctionWithSub.js, 5, 1), Decl(jsDeclarationsExportAssignedConstructorFunctionWithSub.js, 9, 15))
|
||||
>module.exports : Symbol(Sub, Decl(jsDeclarationsExportAssignedConstructorFunctionWithSub.js, 5, 1), Decl(jsDeclarationsExportAssignedConstructorFunctionWithSub.js, 9, 15))
|
||||
>module : Symbol(module, Decl(jsDeclarationsExportAssignedConstructorFunctionWithSub.js, 0, 0), Decl(jsDeclarationsExportAssignedConstructorFunctionWithSub.js, 7, 23))
|
||||
>exports : Symbol("tests/cases/conformance/jsdoc/declarations/jsDeclarationsExportAssignedConstructorFunctionWithSub", Decl(jsDeclarationsExportAssignedConstructorFunctionWithSub.js, 0, 0))
|
||||
>exports : Symbol(module.exports, Decl(jsDeclarationsExportAssignedConstructorFunctionWithSub.js, 0, 0))
|
||||
>Sub : Symbol(Sub, Decl(jsDeclarationsExportAssignedConstructorFunctionWithSub.js, 5, 1), Decl(jsDeclarationsExportAssignedConstructorFunctionWithSub.js, 9, 15))
|
||||
|
||||
this.instance = new module.exports(10);
|
||||
>this.instance : Symbol(Sub.instance, Decl(jsDeclarationsExportAssignedConstructorFunctionWithSub.js, 6, 33))
|
||||
>this : Symbol(Sub, Decl(jsDeclarationsExportAssignedConstructorFunctionWithSub.js, 6, 20))
|
||||
>instance : Symbol(Sub.instance, Decl(jsDeclarationsExportAssignedConstructorFunctionWithSub.js, 6, 33))
|
||||
>module.exports : Symbol("tests/cases/conformance/jsdoc/declarations/jsDeclarationsExportAssignedConstructorFunctionWithSub", Decl(jsDeclarationsExportAssignedConstructorFunctionWithSub.js, 0, 0))
|
||||
>module.exports : Symbol(module.exports, Decl(jsDeclarationsExportAssignedConstructorFunctionWithSub.js, 0, 0))
|
||||
>module : Symbol(module, Decl(jsDeclarationsExportAssignedConstructorFunctionWithSub.js, 0, 0), Decl(jsDeclarationsExportAssignedConstructorFunctionWithSub.js, 7, 23))
|
||||
>exports : Symbol("tests/cases/conformance/jsdoc/declarations/jsDeclarationsExportAssignedConstructorFunctionWithSub", Decl(jsDeclarationsExportAssignedConstructorFunctionWithSub.js, 0, 0))
|
||||
>exports : Symbol(module.exports, Decl(jsDeclarationsExportAssignedConstructorFunctionWithSub.js, 0, 0))
|
||||
}
|
||||
module.exports.Sub.prototype = { }
|
||||
>module.exports.Sub.prototype : Symbol(Sub.prototype, Decl(jsDeclarationsExportAssignedConstructorFunctionWithSub.js, 8, 1))
|
||||
>module.exports.Sub : Symbol(Sub, Decl(jsDeclarationsExportAssignedConstructorFunctionWithSub.js, 5, 1), Decl(jsDeclarationsExportAssignedConstructorFunctionWithSub.js, 9, 15))
|
||||
>module.exports : Symbol("tests/cases/conformance/jsdoc/declarations/jsDeclarationsExportAssignedConstructorFunctionWithSub", Decl(jsDeclarationsExportAssignedConstructorFunctionWithSub.js, 0, 0))
|
||||
>module.exports : Symbol(module.exports, Decl(jsDeclarationsExportAssignedConstructorFunctionWithSub.js, 0, 0))
|
||||
>module : Symbol(module, Decl(jsDeclarationsExportAssignedConstructorFunctionWithSub.js, 0, 0), Decl(jsDeclarationsExportAssignedConstructorFunctionWithSub.js, 7, 23))
|
||||
>exports : Symbol("tests/cases/conformance/jsdoc/declarations/jsDeclarationsExportAssignedConstructorFunctionWithSub", Decl(jsDeclarationsExportAssignedConstructorFunctionWithSub.js, 0, 0))
|
||||
>exports : Symbol(module.exports, Decl(jsDeclarationsExportAssignedConstructorFunctionWithSub.js, 0, 0))
|
||||
>Sub : Symbol(Sub, Decl(jsDeclarationsExportAssignedConstructorFunctionWithSub.js, 5, 1), Decl(jsDeclarationsExportAssignedConstructorFunctionWithSub.js, 9, 15))
|
||||
>prototype : Symbol(Sub.prototype, Decl(jsDeclarationsExportAssignedConstructorFunctionWithSub.js, 8, 1))
|
||||
|
||||
+4
-4
@@ -5,7 +5,7 @@
|
||||
module.exports = function (p) {
|
||||
>module.exports = function (p) { this.t = 12 + p;} : { (p: number): void; new (p: number): exports; Sub: typeof Sub; }
|
||||
>module.exports : { (p: number): void; new (p: number): exports; Sub: typeof Sub; }
|
||||
>module : { "\"tests/cases/conformance/jsdoc/declarations/jsDeclarationsExportAssignedConstructorFunctionWithSub\"": { (p: number): void; new (p: number): exports; Sub: typeof Sub; }; }
|
||||
>module : { exports: { (p: number): void; new (p: number): exports; Sub: typeof Sub; }; }
|
||||
>exports : { (p: number): void; new (p: number): exports; Sub: typeof Sub; }
|
||||
>function (p) { this.t = 12 + p;} : typeof exports
|
||||
>p : number
|
||||
@@ -23,7 +23,7 @@ module.exports.Sub = function() {
|
||||
>module.exports.Sub = function() { this.instance = new module.exports(10);} : typeof Sub
|
||||
>module.exports.Sub : typeof Sub
|
||||
>module.exports : { (p: number): void; new (p: number): exports; Sub: typeof Sub; }
|
||||
>module : { "\"tests/cases/conformance/jsdoc/declarations/jsDeclarationsExportAssignedConstructorFunctionWithSub\"": { (p: number): void; new (p: number): exports; Sub: typeof Sub; }; }
|
||||
>module : { exports: { (p: number): void; new (p: number): exports; Sub: typeof Sub; }; }
|
||||
>exports : { (p: number): void; new (p: number): exports; Sub: typeof Sub; }
|
||||
>Sub : typeof Sub
|
||||
>function() { this.instance = new module.exports(10);} : typeof Sub
|
||||
@@ -35,7 +35,7 @@ module.exports.Sub = function() {
|
||||
>instance : any
|
||||
>new module.exports(10) : exports
|
||||
>module.exports : { (p: number): void; new (p: number): exports; Sub: typeof Sub; }
|
||||
>module : { "\"tests/cases/conformance/jsdoc/declarations/jsDeclarationsExportAssignedConstructorFunctionWithSub\"": { (p: number): void; new (p: number): exports; Sub: typeof Sub; }; }
|
||||
>module : { exports: { (p: number): void; new (p: number): exports; Sub: typeof Sub; }; }
|
||||
>exports : { (p: number): void; new (p: number): exports; Sub: typeof Sub; }
|
||||
>10 : 10
|
||||
}
|
||||
@@ -44,7 +44,7 @@ module.exports.Sub.prototype = { }
|
||||
>module.exports.Sub.prototype : {}
|
||||
>module.exports.Sub : typeof Sub
|
||||
>module.exports : { (p: number): void; new (p: number): exports; Sub: typeof Sub; }
|
||||
>module : { "\"tests/cases/conformance/jsdoc/declarations/jsDeclarationsExportAssignedConstructorFunctionWithSub\"": { (p: number): void; new (p: number): exports; Sub: typeof Sub; }; }
|
||||
>module : { exports: { (p: number): void; new (p: number): exports; Sub: typeof Sub; }; }
|
||||
>exports : { (p: number): void; new (p: number): exports; Sub: typeof Sub; }
|
||||
>Sub : typeof Sub
|
||||
>prototype : {}
|
||||
|
||||
@@ -17,14 +17,14 @@ class Container {
|
||||
}
|
||||
|
||||
module.exports = Container;
|
||||
>module.exports : Symbol("tests/cases/conformance/jsdoc/declarations/index", Decl(index.js, 0, 0))
|
||||
>module.exports : Symbol(module.exports, Decl(index.js, 0, 0))
|
||||
>module : Symbol(export=, Decl(index.js, 6, 1))
|
||||
>exports : Symbol(export=, Decl(index.js, 6, 1))
|
||||
>Container : Symbol(Container, Decl(index.js, 0, 29))
|
||||
|
||||
=== tests/cases/conformance/jsdoc/declarations/obj.js ===
|
||||
module.exports = class Obj {
|
||||
>module.exports : Symbol("tests/cases/conformance/jsdoc/declarations/obj", Decl(obj.js, 0, 0))
|
||||
>module.exports : Symbol(module.exports, Decl(obj.js, 0, 0))
|
||||
>module : Symbol(export=, Decl(obj.js, 0, 0))
|
||||
>exports : Symbol(export=, Decl(obj.js, 0, 0))
|
||||
>Obj : Symbol(Obj, Decl(obj.js, 0, 16))
|
||||
|
||||
@@ -22,7 +22,7 @@ class Container {
|
||||
module.exports = Container;
|
||||
>module.exports = Container : typeof Container
|
||||
>module.exports : typeof Container
|
||||
>module : { "\"tests/cases/conformance/jsdoc/declarations/index\"": typeof Container; }
|
||||
>module : { exports: typeof Container; }
|
||||
>exports : typeof Container
|
||||
>Container : typeof Container
|
||||
|
||||
@@ -30,7 +30,7 @@ module.exports = Container;
|
||||
module.exports = class Obj {
|
||||
>module.exports = class Obj { constructor() { this.x = 12; }} : typeof import("tests/cases/conformance/jsdoc/declarations/obj")
|
||||
>module.exports : typeof import("tests/cases/conformance/jsdoc/declarations/obj")
|
||||
>module : { "\"tests/cases/conformance/jsdoc/declarations/obj\"": typeof import("tests/cases/conformance/jsdoc/declarations/obj"); }
|
||||
>module : { exports: typeof import("tests/cases/conformance/jsdoc/declarations/obj"); }
|
||||
>exports : typeof import("tests/cases/conformance/jsdoc/declarations/obj")
|
||||
>class Obj { constructor() { this.x = 12; }} : typeof import("tests/cases/conformance/jsdoc/declarations/obj")
|
||||
>Obj : typeof import("tests/cases/conformance/jsdoc/declarations/obj")
|
||||
|
||||
+2
-2
@@ -10,7 +10,7 @@ const Strings = {
|
||||
|
||||
};
|
||||
module.exports = {
|
||||
>module.exports : Symbol("tests/cases/conformance/jsdoc/declarations/index", Decl(index.js, 0, 0))
|
||||
>module.exports : Symbol(module.exports, Decl(index.js, 0, 0))
|
||||
>module : Symbol(export=, Decl(index.js, 3, 2))
|
||||
>exports : Symbol(export=, Decl(index.js, 3, 2))
|
||||
|
||||
@@ -31,7 +31,7 @@ module.exports.Strings = Strings;
|
||||
>module.exports.Strings : Symbol(Strings, Decl(index.js, 10, 2))
|
||||
>module.exports : Symbol(Strings, Decl(index.js, 10, 2))
|
||||
>module : Symbol(module, Decl(index.js, 3, 2))
|
||||
>exports : Symbol("tests/cases/conformance/jsdoc/declarations/index", Decl(index.js, 0, 0))
|
||||
>exports : Symbol(module.exports, Decl(index.js, 0, 0))
|
||||
>Strings : Symbol(Strings, Decl(index.js, 10, 2))
|
||||
>Strings : Symbol(Strings, Decl(index.js, 0, 5))
|
||||
|
||||
+2
-2
@@ -15,7 +15,7 @@ const Strings = {
|
||||
module.exports = {
|
||||
>module.exports = { thing: "ok", also: "ok", desc: { item: "ok" }} : { thing: string; also: string; desc: { item: string; }; Strings: { a: string; b: string; }; }
|
||||
>module.exports : { thing: string; also: string; desc: { item: string; }; Strings: { a: string; b: string; }; }
|
||||
>module : { "\"tests/cases/conformance/jsdoc/declarations/index\"": { thing: string; also: string; desc: { item: string; }; Strings: { a: string; b: string; }; }; }
|
||||
>module : { exports: { thing: string; also: string; desc: { item: string; }; Strings: { a: string; b: string; }; }; }
|
||||
>exports : { thing: string; also: string; desc: { item: string; }; Strings: { a: string; b: string; }; }
|
||||
>{ thing: "ok", also: "ok", desc: { item: "ok" }} : { thing: string; also: string; desc: { item: string; }; }
|
||||
|
||||
@@ -40,7 +40,7 @@ module.exports.Strings = Strings;
|
||||
>module.exports.Strings = Strings : { a: string; b: string; }
|
||||
>module.exports.Strings : { a: string; b: string; }
|
||||
>module.exports : { thing: string; also: string; desc: { item: string; }; Strings: { a: string; b: string; }; }
|
||||
>module : { "\"tests/cases/conformance/jsdoc/declarations/index\"": { thing: string; also: string; desc: { item: string; }; Strings: { a: string; b: string; }; }; }
|
||||
>module : { exports: { thing: string; also: string; desc: { item: string; }; Strings: { a: string; b: string; }; }; }
|
||||
>exports : { thing: string; also: string; desc: { item: string; }; Strings: { a: string; b: string; }; }
|
||||
>Strings : { a: string; b: string; }
|
||||
>Strings : { a: string; b: string; }
|
||||
|
||||
@@ -3,7 +3,7 @@ var x = 12;
|
||||
>x : Symbol(x, Decl(index.js, 0, 3))
|
||||
|
||||
module.exports = {
|
||||
>module.exports : Symbol("tests/cases/conformance/jsdoc/declarations/index", Decl(index.js, 0, 0))
|
||||
>module.exports : Symbol(module.exports, Decl(index.js, 0, 0))
|
||||
>module : Symbol(export=, Decl(index.js, 0, 11))
|
||||
>exports : Symbol(export=, Decl(index.js, 0, 11))
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ var x = 12;
|
||||
module.exports = {
|
||||
>module.exports = { extends: 'base', more: { others: ['strs'] }, x} : { extends: string; more: { others: string[]; }; x: number; }
|
||||
>module.exports : { extends: string; more: { others: string[]; }; x: number; }
|
||||
>module : { "\"tests/cases/conformance/jsdoc/declarations/index\"": { extends: string; more: { others: string[]; }; x: number; }; }
|
||||
>module : { exports: { extends: string; more: { others: string[]; }; x: number; }; }
|
||||
>exports : { extends: string; more: { others: string[]; }; x: number; }
|
||||
>{ extends: 'base', more: { others: ['strs'] }, x} : { extends: string; more: { others: string[]; }; x: number; }
|
||||
|
||||
|
||||
@@ -3,9 +3,9 @@ Object.defineProperty(module.exports, "a", { value: function a() {} });
|
||||
>Object.defineProperty : Symbol(ObjectConstructor.defineProperty, Decl(lib.es5.d.ts, --, --))
|
||||
>Object : Symbol(Object, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --))
|
||||
>defineProperty : Symbol(ObjectConstructor.defineProperty, Decl(lib.es5.d.ts, --, --))
|
||||
>module.exports : Symbol("tests/cases/conformance/jsdoc/declarations/index", Decl(index.js, 0, 0))
|
||||
>module.exports : Symbol(module.exports, Decl(index.js, 0, 0))
|
||||
>module : Symbol(module, Decl(index.js, 0, 22), Decl(index.js, 31, 56), Decl(index.js, 53, 52), Decl(index.js, 56, 52))
|
||||
>exports : Symbol("tests/cases/conformance/jsdoc/declarations/index", Decl(index.js, 0, 0))
|
||||
>exports : Symbol(module.exports, Decl(index.js, 0, 0))
|
||||
>"a" : Symbol(a, Decl(index.js, 0, 0))
|
||||
>value : Symbol(value, Decl(index.js, 0, 44))
|
||||
>a : Symbol(a, Decl(index.js, 0, 51))
|
||||
@@ -14,9 +14,9 @@ Object.defineProperty(module.exports, "b", { value: function b() {} });
|
||||
>Object.defineProperty : Symbol(ObjectConstructor.defineProperty, Decl(lib.es5.d.ts, --, --))
|
||||
>Object : Symbol(Object, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --))
|
||||
>defineProperty : Symbol(ObjectConstructor.defineProperty, Decl(lib.es5.d.ts, --, --))
|
||||
>module.exports : Symbol("tests/cases/conformance/jsdoc/declarations/index", Decl(index.js, 0, 0))
|
||||
>module.exports : Symbol(module.exports, Decl(index.js, 0, 0))
|
||||
>module : Symbol(module, Decl(index.js, 0, 22), Decl(index.js, 31, 56), Decl(index.js, 53, 52), Decl(index.js, 56, 52))
|
||||
>exports : Symbol("tests/cases/conformance/jsdoc/declarations/index", Decl(index.js, 0, 0))
|
||||
>exports : Symbol(module.exports, Decl(index.js, 0, 0))
|
||||
>"b" : Symbol(b, Decl(index.js, 0, 71), Decl(index.js, 3, 37))
|
||||
>value : Symbol(value, Decl(index.js, 2, 44))
|
||||
>b : Symbol(b, Decl(index.js, 2, 51))
|
||||
@@ -26,9 +26,9 @@ Object.defineProperty(module.exports.b, "cat", { value: "cat" });
|
||||
>Object : Symbol(Object, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --))
|
||||
>defineProperty : Symbol(ObjectConstructor.defineProperty, Decl(lib.es5.d.ts, --, --))
|
||||
>module.exports.b : Symbol(b, Decl(index.js, 0, 71), Decl(index.js, 3, 37))
|
||||
>module.exports : Symbol("tests/cases/conformance/jsdoc/declarations/index", Decl(index.js, 0, 0))
|
||||
>module.exports : Symbol(module.exports, Decl(index.js, 0, 0))
|
||||
>module : Symbol(module, Decl(index.js, 0, 22), Decl(index.js, 31, 56), Decl(index.js, 53, 52), Decl(index.js, 56, 52))
|
||||
>exports : Symbol("tests/cases/conformance/jsdoc/declarations/index", Decl(index.js, 0, 0))
|
||||
>exports : Symbol(module.exports, Decl(index.js, 0, 0))
|
||||
>b : Symbol(b, Decl(index.js, 0, 71), Decl(index.js, 3, 37))
|
||||
>"cat" : Symbol(b.cat, Decl(index.js, 2, 71))
|
||||
>value : Symbol(value, Decl(index.js, 3, 48))
|
||||
@@ -47,9 +47,9 @@ Object.defineProperty(module.exports, "d", { value: d });
|
||||
>Object.defineProperty : Symbol(ObjectConstructor.defineProperty, Decl(lib.es5.d.ts, --, --))
|
||||
>Object : Symbol(Object, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --))
|
||||
>defineProperty : Symbol(ObjectConstructor.defineProperty, Decl(lib.es5.d.ts, --, --))
|
||||
>module.exports : Symbol("tests/cases/conformance/jsdoc/declarations/index", Decl(index.js, 0, 0))
|
||||
>module.exports : Symbol(module.exports, Decl(index.js, 0, 0))
|
||||
>module : Symbol(module, Decl(index.js, 0, 22), Decl(index.js, 31, 56), Decl(index.js, 53, 52), Decl(index.js, 56, 52))
|
||||
>exports : Symbol("tests/cases/conformance/jsdoc/declarations/index", Decl(index.js, 0, 0))
|
||||
>exports : Symbol(module.exports, Decl(index.js, 0, 0))
|
||||
>"d" : Symbol(d, Decl(index.js, 10, 51))
|
||||
>value : Symbol(value, Decl(index.js, 11, 44))
|
||||
>d : Symbol(d, Decl(index.js, 3, 65))
|
||||
@@ -70,9 +70,9 @@ Object.defineProperty(module.exports, "e", { value: e });
|
||||
>Object.defineProperty : Symbol(ObjectConstructor.defineProperty, Decl(lib.es5.d.ts, --, --))
|
||||
>Object : Symbol(Object, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --))
|
||||
>defineProperty : Symbol(ObjectConstructor.defineProperty, Decl(lib.es5.d.ts, --, --))
|
||||
>module.exports : Symbol("tests/cases/conformance/jsdoc/declarations/index", Decl(index.js, 0, 0))
|
||||
>module.exports : Symbol(module.exports, Decl(index.js, 0, 0))
|
||||
>module : Symbol(module, Decl(index.js, 0, 22), Decl(index.js, 31, 56), Decl(index.js, 53, 52), Decl(index.js, 56, 52))
|
||||
>exports : Symbol("tests/cases/conformance/jsdoc/declarations/index", Decl(index.js, 0, 0))
|
||||
>exports : Symbol(module.exports, Decl(index.js, 0, 0))
|
||||
>"e" : Symbol(e, Decl(index.js, 20, 51))
|
||||
>value : Symbol(value, Decl(index.js, 21, 44))
|
||||
>e : Symbol(e, Decl(index.js, 11, 57))
|
||||
@@ -92,9 +92,9 @@ Object.defineProperty(module.exports, "f", { value: f });
|
||||
>Object.defineProperty : Symbol(ObjectConstructor.defineProperty, Decl(lib.es5.d.ts, --, --))
|
||||
>Object : Symbol(Object, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --))
|
||||
>defineProperty : Symbol(ObjectConstructor.defineProperty, Decl(lib.es5.d.ts, --, --))
|
||||
>module.exports : Symbol("tests/cases/conformance/jsdoc/declarations/index", Decl(index.js, 0, 0))
|
||||
>module.exports : Symbol(module.exports, Decl(index.js, 0, 0))
|
||||
>module : Symbol(module, Decl(index.js, 0, 22), Decl(index.js, 31, 56), Decl(index.js, 53, 52), Decl(index.js, 56, 52))
|
||||
>exports : Symbol("tests/cases/conformance/jsdoc/declarations/index", Decl(index.js, 0, 0))
|
||||
>exports : Symbol(module.exports, Decl(index.js, 0, 0))
|
||||
>"f" : Symbol(f, Decl(index.js, 29, 1), Decl(index.js, 31, 37))
|
||||
>value : Symbol(value, Decl(index.js, 30, 44))
|
||||
>f : Symbol(f, Decl(index.js, 21, 57))
|
||||
@@ -104,16 +104,16 @@ Object.defineProperty(module.exports.f, "self", { value: module.exports.f });
|
||||
>Object : Symbol(Object, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --))
|
||||
>defineProperty : Symbol(ObjectConstructor.defineProperty, Decl(lib.es5.d.ts, --, --))
|
||||
>module.exports.f : Symbol(f, Decl(index.js, 29, 1), Decl(index.js, 31, 37))
|
||||
>module.exports : Symbol("tests/cases/conformance/jsdoc/declarations/index", Decl(index.js, 0, 0))
|
||||
>module.exports : Symbol(module.exports, Decl(index.js, 0, 0))
|
||||
>module : Symbol(module, Decl(index.js, 0, 22), Decl(index.js, 31, 56), Decl(index.js, 53, 52), Decl(index.js, 56, 52))
|
||||
>exports : Symbol("tests/cases/conformance/jsdoc/declarations/index", Decl(index.js, 0, 0))
|
||||
>exports : Symbol(module.exports, Decl(index.js, 0, 0))
|
||||
>f : Symbol(f, Decl(index.js, 29, 1), Decl(index.js, 31, 37))
|
||||
>"self" : Symbol(f.self, Decl(index.js, 30, 57))
|
||||
>value : Symbol(value, Decl(index.js, 31, 49))
|
||||
>module.exports.f : Symbol(f, Decl(index.js, 29, 1), Decl(index.js, 31, 37))
|
||||
>module.exports : Symbol("tests/cases/conformance/jsdoc/declarations/index", Decl(index.js, 0, 0))
|
||||
>module.exports : Symbol(module.exports, Decl(index.js, 0, 0))
|
||||
>module : Symbol(module, Decl(index.js, 0, 22), Decl(index.js, 31, 56), Decl(index.js, 53, 52), Decl(index.js, 56, 52))
|
||||
>exports : Symbol("tests/cases/conformance/jsdoc/declarations/index", Decl(index.js, 0, 0))
|
||||
>exports : Symbol(module.exports, Decl(index.js, 0, 0))
|
||||
>f : Symbol(f, Decl(index.js, 29, 1), Decl(index.js, 31, 37))
|
||||
|
||||
/**
|
||||
@@ -137,9 +137,9 @@ Object.defineProperty(module.exports, "g", { value: g });
|
||||
>Object.defineProperty : Symbol(ObjectConstructor.defineProperty, Decl(lib.es5.d.ts, --, --))
|
||||
>Object : Symbol(Object, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --))
|
||||
>defineProperty : Symbol(ObjectConstructor.defineProperty, Decl(lib.es5.d.ts, --, --))
|
||||
>module.exports : Symbol("tests/cases/conformance/jsdoc/declarations/index", Decl(index.js, 0, 0))
|
||||
>module.exports : Symbol(module.exports, Decl(index.js, 0, 0))
|
||||
>module : Symbol(module, Decl(index.js, 0, 22), Decl(index.js, 31, 56), Decl(index.js, 53, 52), Decl(index.js, 56, 52))
|
||||
>exports : Symbol("tests/cases/conformance/jsdoc/declarations/index", Decl(index.js, 0, 0))
|
||||
>exports : Symbol(module.exports, Decl(index.js, 0, 0))
|
||||
>"g" : Symbol(g, Decl(index.js, 39, 1))
|
||||
>value : Symbol(value, Decl(index.js, 40, 44))
|
||||
>g : Symbol(g, Decl(index.js, 31, 77))
|
||||
@@ -166,9 +166,9 @@ Object.defineProperty(module.exports, "h", { value: hh });
|
||||
>Object.defineProperty : Symbol(ObjectConstructor.defineProperty, Decl(lib.es5.d.ts, --, --))
|
||||
>Object : Symbol(Object, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --))
|
||||
>defineProperty : Symbol(ObjectConstructor.defineProperty, Decl(lib.es5.d.ts, --, --))
|
||||
>module.exports : Symbol("tests/cases/conformance/jsdoc/declarations/index", Decl(index.js, 0, 0))
|
||||
>module.exports : Symbol(module.exports, Decl(index.js, 0, 0))
|
||||
>module : Symbol(module, Decl(index.js, 0, 22), Decl(index.js, 31, 56), Decl(index.js, 53, 52), Decl(index.js, 56, 52))
|
||||
>exports : Symbol("tests/cases/conformance/jsdoc/declarations/index", Decl(index.js, 0, 0))
|
||||
>exports : Symbol(module.exports, Decl(index.js, 0, 0))
|
||||
>"h" : Symbol(h, Decl(index.js, 49, 1))
|
||||
>value : Symbol(value, Decl(index.js, 50, 44))
|
||||
>hh : Symbol(hh, Decl(index.js, 40, 57))
|
||||
@@ -177,9 +177,9 @@ Object.defineProperty(module.exports, "i", { value: function i(){} });
|
||||
>Object.defineProperty : Symbol(ObjectConstructor.defineProperty, Decl(lib.es5.d.ts, --, --))
|
||||
>Object : Symbol(Object, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --))
|
||||
>defineProperty : Symbol(ObjectConstructor.defineProperty, Decl(lib.es5.d.ts, --, --))
|
||||
>module.exports : Symbol("tests/cases/conformance/jsdoc/declarations/index", Decl(index.js, 0, 0))
|
||||
>module.exports : Symbol(module.exports, Decl(index.js, 0, 0))
|
||||
>module : Symbol(module, Decl(index.js, 0, 22), Decl(index.js, 31, 56), Decl(index.js, 53, 52), Decl(index.js, 56, 52))
|
||||
>exports : Symbol("tests/cases/conformance/jsdoc/declarations/index", Decl(index.js, 0, 0))
|
||||
>exports : Symbol(module.exports, Decl(index.js, 0, 0))
|
||||
>"i" : Symbol(i, Decl(index.js, 50, 58))
|
||||
>value : Symbol(value, Decl(index.js, 52, 44))
|
||||
>i : Symbol(i, Decl(index.js, 52, 51))
|
||||
@@ -188,15 +188,15 @@ Object.defineProperty(module.exports, "ii", { value: module.exports.i });
|
||||
>Object.defineProperty : Symbol(ObjectConstructor.defineProperty, Decl(lib.es5.d.ts, --, --))
|
||||
>Object : Symbol(Object, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --))
|
||||
>defineProperty : Symbol(ObjectConstructor.defineProperty, Decl(lib.es5.d.ts, --, --))
|
||||
>module.exports : Symbol("tests/cases/conformance/jsdoc/declarations/index", Decl(index.js, 0, 0))
|
||||
>module.exports : Symbol(module.exports, Decl(index.js, 0, 0))
|
||||
>module : Symbol(module, Decl(index.js, 0, 22), Decl(index.js, 31, 56), Decl(index.js, 53, 52), Decl(index.js, 56, 52))
|
||||
>exports : Symbol("tests/cases/conformance/jsdoc/declarations/index", Decl(index.js, 0, 0))
|
||||
>exports : Symbol(module.exports, Decl(index.js, 0, 0))
|
||||
>"ii" : Symbol(ii, Decl(index.js, 52, 70))
|
||||
>value : Symbol(value, Decl(index.js, 53, 45))
|
||||
>module.exports.i : Symbol(i, Decl(index.js, 50, 58))
|
||||
>module.exports : Symbol("tests/cases/conformance/jsdoc/declarations/index", Decl(index.js, 0, 0))
|
||||
>module.exports : Symbol(module.exports, Decl(index.js, 0, 0))
|
||||
>module : Symbol(module, Decl(index.js, 0, 22), Decl(index.js, 31, 56), Decl(index.js, 53, 52), Decl(index.js, 56, 52))
|
||||
>exports : Symbol("tests/cases/conformance/jsdoc/declarations/index", Decl(index.js, 0, 0))
|
||||
>exports : Symbol(module.exports, Decl(index.js, 0, 0))
|
||||
>i : Symbol(i, Decl(index.js, 50, 58))
|
||||
|
||||
// note that this last one doesn't make much sense in cjs, since exports aren't hoisted bindings
|
||||
@@ -204,24 +204,24 @@ Object.defineProperty(module.exports, "jj", { value: module.exports.j });
|
||||
>Object.defineProperty : Symbol(ObjectConstructor.defineProperty, Decl(lib.es5.d.ts, --, --))
|
||||
>Object : Symbol(Object, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --))
|
||||
>defineProperty : Symbol(ObjectConstructor.defineProperty, Decl(lib.es5.d.ts, --, --))
|
||||
>module.exports : Symbol("tests/cases/conformance/jsdoc/declarations/index", Decl(index.js, 0, 0))
|
||||
>module.exports : Symbol(module.exports, Decl(index.js, 0, 0))
|
||||
>module : Symbol(module, Decl(index.js, 0, 22), Decl(index.js, 31, 56), Decl(index.js, 53, 52), Decl(index.js, 56, 52))
|
||||
>exports : Symbol("tests/cases/conformance/jsdoc/declarations/index", Decl(index.js, 0, 0))
|
||||
>exports : Symbol(module.exports, Decl(index.js, 0, 0))
|
||||
>"jj" : Symbol(jj, Decl(index.js, 53, 73))
|
||||
>value : Symbol(value, Decl(index.js, 56, 45))
|
||||
>module.exports.j : Symbol(j, Decl(index.js, 56, 73))
|
||||
>module.exports : Symbol("tests/cases/conformance/jsdoc/declarations/index", Decl(index.js, 0, 0))
|
||||
>module.exports : Symbol(module.exports, Decl(index.js, 0, 0))
|
||||
>module : Symbol(module, Decl(index.js, 0, 22), Decl(index.js, 31, 56), Decl(index.js, 53, 52), Decl(index.js, 56, 52))
|
||||
>exports : Symbol("tests/cases/conformance/jsdoc/declarations/index", Decl(index.js, 0, 0))
|
||||
>exports : Symbol(module.exports, Decl(index.js, 0, 0))
|
||||
>j : Symbol(j, Decl(index.js, 56, 73))
|
||||
|
||||
Object.defineProperty(module.exports, "j", { value: function j() {} });
|
||||
>Object.defineProperty : Symbol(ObjectConstructor.defineProperty, Decl(lib.es5.d.ts, --, --))
|
||||
>Object : Symbol(Object, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --))
|
||||
>defineProperty : Symbol(ObjectConstructor.defineProperty, Decl(lib.es5.d.ts, --, --))
|
||||
>module.exports : Symbol("tests/cases/conformance/jsdoc/declarations/index", Decl(index.js, 0, 0))
|
||||
>module.exports : Symbol(module.exports, Decl(index.js, 0, 0))
|
||||
>module : Symbol(module, Decl(index.js, 0, 22), Decl(index.js, 31, 56), Decl(index.js, 53, 52), Decl(index.js, 56, 52))
|
||||
>exports : Symbol("tests/cases/conformance/jsdoc/declarations/index", Decl(index.js, 0, 0))
|
||||
>exports : Symbol(module.exports, Decl(index.js, 0, 0))
|
||||
>"j" : Symbol(j, Decl(index.js, 56, 73))
|
||||
>value : Symbol(value, Decl(index.js, 57, 44))
|
||||
>j : Symbol(j, Decl(index.js, 57, 51))
|
||||
|
||||
@@ -4,9 +4,9 @@ Object.defineProperty(module.exports, "a", { value: function a() {} });
|
||||
>Object.defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => any
|
||||
>Object : ObjectConstructor
|
||||
>defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => any
|
||||
>module.exports : typeof import("tests/cases/conformance/jsdoc/declarations/index")
|
||||
>module : { "\"tests/cases/conformance/jsdoc/declarations/index\"": typeof import("tests/cases/conformance/jsdoc/declarations/index"); }
|
||||
>exports : typeof import("tests/cases/conformance/jsdoc/declarations/index")
|
||||
>module.exports : typeof module.exports
|
||||
>module : { exports: typeof module.exports; }
|
||||
>exports : typeof module.exports
|
||||
>"a" : "a"
|
||||
>{ value: function a() {} } : { value: () => void; }
|
||||
>value : () => void
|
||||
@@ -18,9 +18,9 @@ Object.defineProperty(module.exports, "b", { value: function b() {} });
|
||||
>Object.defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => any
|
||||
>Object : ObjectConstructor
|
||||
>defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => any
|
||||
>module.exports : typeof import("tests/cases/conformance/jsdoc/declarations/index")
|
||||
>module : { "\"tests/cases/conformance/jsdoc/declarations/index\"": typeof import("tests/cases/conformance/jsdoc/declarations/index"); }
|
||||
>exports : typeof import("tests/cases/conformance/jsdoc/declarations/index")
|
||||
>module.exports : typeof module.exports
|
||||
>module : { exports: typeof module.exports; }
|
||||
>exports : typeof module.exports
|
||||
>"b" : "b"
|
||||
>{ value: function b() {} } : { value: () => void; }
|
||||
>value : () => void
|
||||
@@ -33,9 +33,9 @@ Object.defineProperty(module.exports.b, "cat", { value: "cat" });
|
||||
>Object : ObjectConstructor
|
||||
>defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => any
|
||||
>module.exports.b : () => void
|
||||
>module.exports : typeof import("tests/cases/conformance/jsdoc/declarations/index")
|
||||
>module : { "\"tests/cases/conformance/jsdoc/declarations/index\"": typeof import("tests/cases/conformance/jsdoc/declarations/index"); }
|
||||
>exports : typeof import("tests/cases/conformance/jsdoc/declarations/index")
|
||||
>module.exports : typeof module.exports
|
||||
>module : { exports: typeof module.exports; }
|
||||
>exports : typeof module.exports
|
||||
>b : () => void
|
||||
>"cat" : "cat"
|
||||
>{ value: "cat" } : { value: string; }
|
||||
@@ -59,9 +59,9 @@ Object.defineProperty(module.exports, "d", { value: d });
|
||||
>Object.defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => any
|
||||
>Object : ObjectConstructor
|
||||
>defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => any
|
||||
>module.exports : typeof import("tests/cases/conformance/jsdoc/declarations/index")
|
||||
>module : { "\"tests/cases/conformance/jsdoc/declarations/index\"": typeof import("tests/cases/conformance/jsdoc/declarations/index"); }
|
||||
>exports : typeof import("tests/cases/conformance/jsdoc/declarations/index")
|
||||
>module.exports : typeof module.exports
|
||||
>module : { exports: typeof module.exports; }
|
||||
>exports : typeof module.exports
|
||||
>"d" : "d"
|
||||
>{ value: d } : { value: (a: number, b: number) => string; }
|
||||
>value : (a: number, b: number) => string
|
||||
@@ -86,9 +86,9 @@ Object.defineProperty(module.exports, "e", { value: e });
|
||||
>Object.defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => any
|
||||
>Object : ObjectConstructor
|
||||
>defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => any
|
||||
>module.exports : typeof import("tests/cases/conformance/jsdoc/declarations/index")
|
||||
>module : { "\"tests/cases/conformance/jsdoc/declarations/index\"": typeof import("tests/cases/conformance/jsdoc/declarations/index"); }
|
||||
>exports : typeof import("tests/cases/conformance/jsdoc/declarations/index")
|
||||
>module.exports : typeof module.exports
|
||||
>module : { exports: typeof module.exports; }
|
||||
>exports : typeof module.exports
|
||||
>"e" : "e"
|
||||
>{ value: e } : { value: <T, U>(a: T, b: U) => T & U; }
|
||||
>value : <T, U>(a: T, b: U) => T & U
|
||||
@@ -110,9 +110,9 @@ Object.defineProperty(module.exports, "f", { value: f });
|
||||
>Object.defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => any
|
||||
>Object : ObjectConstructor
|
||||
>defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => any
|
||||
>module.exports : typeof import("tests/cases/conformance/jsdoc/declarations/index")
|
||||
>module : { "\"tests/cases/conformance/jsdoc/declarations/index\"": typeof import("tests/cases/conformance/jsdoc/declarations/index"); }
|
||||
>exports : typeof import("tests/cases/conformance/jsdoc/declarations/index")
|
||||
>module.exports : typeof module.exports
|
||||
>module : { exports: typeof module.exports; }
|
||||
>exports : typeof module.exports
|
||||
>"f" : "f"
|
||||
>{ value: f } : { value: <T>(a: T) => T; }
|
||||
>value : <T>(a: T) => T
|
||||
@@ -124,17 +124,17 @@ Object.defineProperty(module.exports.f, "self", { value: module.exports.f });
|
||||
>Object : ObjectConstructor
|
||||
>defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => any
|
||||
>module.exports.f : <T>(a: T) => T
|
||||
>module.exports : typeof import("tests/cases/conformance/jsdoc/declarations/index")
|
||||
>module : { "\"tests/cases/conformance/jsdoc/declarations/index\"": typeof import("tests/cases/conformance/jsdoc/declarations/index"); }
|
||||
>exports : typeof import("tests/cases/conformance/jsdoc/declarations/index")
|
||||
>module.exports : typeof module.exports
|
||||
>module : { exports: typeof module.exports; }
|
||||
>exports : typeof module.exports
|
||||
>f : <T>(a: T) => T
|
||||
>"self" : "self"
|
||||
>{ value: module.exports.f } : { value: <T>(a: T) => T; }
|
||||
>value : <T>(a: T) => T
|
||||
>module.exports.f : <T>(a: T) => T
|
||||
>module.exports : typeof import("tests/cases/conformance/jsdoc/declarations/index")
|
||||
>module : { "\"tests/cases/conformance/jsdoc/declarations/index\"": typeof import("tests/cases/conformance/jsdoc/declarations/index"); }
|
||||
>exports : typeof import("tests/cases/conformance/jsdoc/declarations/index")
|
||||
>module.exports : typeof module.exports
|
||||
>module : { exports: typeof module.exports; }
|
||||
>exports : typeof module.exports
|
||||
>f : <T>(a: T) => T
|
||||
|
||||
/**
|
||||
@@ -161,9 +161,9 @@ Object.defineProperty(module.exports, "g", { value: g });
|
||||
>Object.defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => any
|
||||
>Object : ObjectConstructor
|
||||
>defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => any
|
||||
>module.exports : typeof import("tests/cases/conformance/jsdoc/declarations/index")
|
||||
>module : { "\"tests/cases/conformance/jsdoc/declarations/index\"": typeof import("tests/cases/conformance/jsdoc/declarations/index"); }
|
||||
>exports : typeof import("tests/cases/conformance/jsdoc/declarations/index")
|
||||
>module.exports : typeof module.exports
|
||||
>module : { exports: typeof module.exports; }
|
||||
>exports : typeof module.exports
|
||||
>"g" : "g"
|
||||
>{ value: g } : { value: (a: { x: string; }, b: { y: () => void; }) => void; }
|
||||
>value : (a: { x: string; }, b: { y: () => void; }) => void
|
||||
@@ -194,9 +194,9 @@ Object.defineProperty(module.exports, "h", { value: hh });
|
||||
>Object.defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => any
|
||||
>Object : ObjectConstructor
|
||||
>defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => any
|
||||
>module.exports : typeof import("tests/cases/conformance/jsdoc/declarations/index")
|
||||
>module : { "\"tests/cases/conformance/jsdoc/declarations/index\"": typeof import("tests/cases/conformance/jsdoc/declarations/index"); }
|
||||
>exports : typeof import("tests/cases/conformance/jsdoc/declarations/index")
|
||||
>module.exports : typeof module.exports
|
||||
>module : { exports: typeof module.exports; }
|
||||
>exports : typeof module.exports
|
||||
>"h" : "h"
|
||||
>{ value: hh } : { value: (a: { x: string; }, b: { y: () => void; }) => void; }
|
||||
>value : (a: { x: string; }, b: { y: () => void; }) => void
|
||||
@@ -207,9 +207,9 @@ Object.defineProperty(module.exports, "i", { value: function i(){} });
|
||||
>Object.defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => any
|
||||
>Object : ObjectConstructor
|
||||
>defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => any
|
||||
>module.exports : typeof import("tests/cases/conformance/jsdoc/declarations/index")
|
||||
>module : { "\"tests/cases/conformance/jsdoc/declarations/index\"": typeof import("tests/cases/conformance/jsdoc/declarations/index"); }
|
||||
>exports : typeof import("tests/cases/conformance/jsdoc/declarations/index")
|
||||
>module.exports : typeof module.exports
|
||||
>module : { exports: typeof module.exports; }
|
||||
>exports : typeof module.exports
|
||||
>"i" : "i"
|
||||
>{ value: function i(){} } : { value: () => void; }
|
||||
>value : () => void
|
||||
@@ -221,16 +221,16 @@ Object.defineProperty(module.exports, "ii", { value: module.exports.i });
|
||||
>Object.defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => any
|
||||
>Object : ObjectConstructor
|
||||
>defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => any
|
||||
>module.exports : typeof import("tests/cases/conformance/jsdoc/declarations/index")
|
||||
>module : { "\"tests/cases/conformance/jsdoc/declarations/index\"": typeof import("tests/cases/conformance/jsdoc/declarations/index"); }
|
||||
>exports : typeof import("tests/cases/conformance/jsdoc/declarations/index")
|
||||
>module.exports : typeof module.exports
|
||||
>module : { exports: typeof module.exports; }
|
||||
>exports : typeof module.exports
|
||||
>"ii" : "ii"
|
||||
>{ value: module.exports.i } : { value: () => void; }
|
||||
>value : () => void
|
||||
>module.exports.i : () => void
|
||||
>module.exports : typeof import("tests/cases/conformance/jsdoc/declarations/index")
|
||||
>module : { "\"tests/cases/conformance/jsdoc/declarations/index\"": typeof import("tests/cases/conformance/jsdoc/declarations/index"); }
|
||||
>exports : typeof import("tests/cases/conformance/jsdoc/declarations/index")
|
||||
>module.exports : typeof module.exports
|
||||
>module : { exports: typeof module.exports; }
|
||||
>exports : typeof module.exports
|
||||
>i : () => void
|
||||
|
||||
// note that this last one doesn't make much sense in cjs, since exports aren't hoisted bindings
|
||||
@@ -239,16 +239,16 @@ Object.defineProperty(module.exports, "jj", { value: module.exports.j });
|
||||
>Object.defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => any
|
||||
>Object : ObjectConstructor
|
||||
>defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => any
|
||||
>module.exports : typeof import("tests/cases/conformance/jsdoc/declarations/index")
|
||||
>module : { "\"tests/cases/conformance/jsdoc/declarations/index\"": typeof import("tests/cases/conformance/jsdoc/declarations/index"); }
|
||||
>exports : typeof import("tests/cases/conformance/jsdoc/declarations/index")
|
||||
>module.exports : typeof module.exports
|
||||
>module : { exports: typeof module.exports; }
|
||||
>exports : typeof module.exports
|
||||
>"jj" : "jj"
|
||||
>{ value: module.exports.j } : { value: () => void; }
|
||||
>value : () => void
|
||||
>module.exports.j : () => void
|
||||
>module.exports : typeof import("tests/cases/conformance/jsdoc/declarations/index")
|
||||
>module : { "\"tests/cases/conformance/jsdoc/declarations/index\"": typeof import("tests/cases/conformance/jsdoc/declarations/index"); }
|
||||
>exports : typeof import("tests/cases/conformance/jsdoc/declarations/index")
|
||||
>module.exports : typeof module.exports
|
||||
>module : { exports: typeof module.exports; }
|
||||
>exports : typeof module.exports
|
||||
>j : () => void
|
||||
|
||||
Object.defineProperty(module.exports, "j", { value: function j() {} });
|
||||
@@ -256,9 +256,9 @@ Object.defineProperty(module.exports, "j", { value: function j() {} });
|
||||
>Object.defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => any
|
||||
>Object : ObjectConstructor
|
||||
>defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => any
|
||||
>module.exports : typeof import("tests/cases/conformance/jsdoc/declarations/index")
|
||||
>module : { "\"tests/cases/conformance/jsdoc/declarations/index\"": typeof import("tests/cases/conformance/jsdoc/declarations/index"); }
|
||||
>exports : typeof import("tests/cases/conformance/jsdoc/declarations/index")
|
||||
>module.exports : typeof module.exports
|
||||
>module : { exports: typeof module.exports; }
|
||||
>exports : typeof module.exports
|
||||
>"j" : "j"
|
||||
>{ value: function j() {} } : { value: () => void; }
|
||||
>value : () => void
|
||||
|
||||
@@ -4,7 +4,7 @@ function foo() {
|
||||
>foo : Symbol(foo, Decl(index.js, 0, 0))
|
||||
|
||||
module.exports = exports = function (o) {
|
||||
>module.exports : Symbol("tests/cases/conformance/jsdoc/declarations/index", Decl(index.js, 0, 0))
|
||||
>module.exports : Symbol(module.exports, Decl(index.js, 0, 0))
|
||||
>module : Symbol(export=, Decl(index.js, 1, 16))
|
||||
>exports : Symbol(export=, Decl(index.js, 1, 16))
|
||||
>exports : Symbol("tests/cases/conformance/jsdoc/declarations/index", Decl(index.js, 0, 0))
|
||||
|
||||
@@ -4,10 +4,10 @@ function foo() {
|
||||
>foo : () => void
|
||||
|
||||
module.exports = exports = function (o) {
|
||||
>module.exports = exports = function (o) { return (o == null) ? create(base) : defineProperties(Object(o), descriptors); } : any
|
||||
>module.exports : any
|
||||
>module : { "\"tests/cases/conformance/jsdoc/declarations/index\"": any; }
|
||||
>exports : any
|
||||
>module.exports = exports = function (o) { return (o == null) ? create(base) : defineProperties(Object(o), descriptors); } : { (o: any): any; methods: () => void; }
|
||||
>module.exports : { (o: any): any; methods: () => void; }
|
||||
>module : { exports: { (o: any): any; methods: () => void; }; }
|
||||
>exports : { (o: any): any; methods: () => void; }
|
||||
>exports = function (o) { return (o == null) ? create(base) : defineProperties(Object(o), descriptors); } : (o: any) => any
|
||||
>exports : any
|
||||
>function (o) { return (o == null) ? create(base) : defineProperties(Object(o), descriptors); } : (o: any) => any
|
||||
|
||||
@@ -49,9 +49,9 @@ const ns = require("./cls");
|
||||
>"./cls" : Symbol(ns, Decl(cls.js, 0, 0))
|
||||
|
||||
module.exports = { ns };
|
||||
>module.exports : Symbol("tests/cases/conformance/jsdoc/declarations/cjs", Decl(cjs.js, 0, 0))
|
||||
>module.exports : Symbol(module.exports, Decl(cjs.js, 0, 0))
|
||||
>module : Symbol(module, Decl(cjs.js, 0, 28))
|
||||
>exports : Symbol("tests/cases/conformance/jsdoc/declarations/cjs", Decl(cjs.js, 0, 0))
|
||||
>exports : Symbol(module.exports, Decl(cjs.js, 0, 0))
|
||||
>ns : Symbol(ns, Decl(cjs.js, 1, 18))
|
||||
|
||||
=== tests/cases/conformance/jsdoc/declarations/cjs2.js ===
|
||||
@@ -61,7 +61,7 @@ const ns = require("./cls");
|
||||
>"./cls" : Symbol(ns, Decl(cls.js, 0, 0))
|
||||
|
||||
module.exports = ns;
|
||||
>module.exports : Symbol("tests/cases/conformance/jsdoc/declarations/cjs2", Decl(cjs2.js, 0, 0))
|
||||
>module.exports : Symbol(module.exports, Decl(cjs2.js, 0, 0))
|
||||
>module : Symbol(export=, Decl(cjs2.js, 0, 28))
|
||||
>exports : Symbol(export=, Decl(cjs2.js, 0, 28))
|
||||
>ns : Symbol(ns, Decl(cjs2.js, 0, 5))
|
||||
@@ -76,7 +76,7 @@ module.exports.ns = ns;
|
||||
>module.exports.ns : Symbol(ns, Decl(cjs3.js, 0, 28))
|
||||
>module.exports : Symbol(ns, Decl(cjs3.js, 0, 28))
|
||||
>module : Symbol(module, Decl(cjs3.js, 0, 28))
|
||||
>exports : Symbol("tests/cases/conformance/jsdoc/declarations/cjs3", Decl(cjs3.js, 0, 0))
|
||||
>exports : Symbol(module.exports, Decl(cjs3.js, 0, 0))
|
||||
>ns : Symbol(ns, Decl(cjs3.js, 0, 28))
|
||||
>ns : Symbol(ns, Decl(cjs3.js, 0, 5))
|
||||
|
||||
@@ -90,7 +90,7 @@ module.exports.names = ns;
|
||||
>module.exports.names : Symbol(names, Decl(cjs4.js, 0, 28))
|
||||
>module.exports : Symbol(names, Decl(cjs4.js, 0, 28))
|
||||
>module : Symbol(module, Decl(cjs4.js, 0, 28))
|
||||
>exports : Symbol("tests/cases/conformance/jsdoc/declarations/cjs4", Decl(cjs4.js, 0, 0))
|
||||
>exports : Symbol(module.exports, Decl(cjs4.js, 0, 0))
|
||||
>names : Symbol(names, Decl(cjs4.js, 0, 28))
|
||||
>ns : Symbol(ns, Decl(cjs4.js, 0, 5))
|
||||
|
||||
|
||||
@@ -50,10 +50,10 @@ const ns = require("./cls");
|
||||
>"./cls" : "./cls"
|
||||
|
||||
module.exports = { ns };
|
||||
>module.exports = { ns } : typeof import("tests/cases/conformance/jsdoc/declarations/cjs")
|
||||
>module.exports : typeof import("tests/cases/conformance/jsdoc/declarations/cjs")
|
||||
>module : { "\"tests/cases/conformance/jsdoc/declarations/cjs\"": typeof import("tests/cases/conformance/jsdoc/declarations/cjs"); }
|
||||
>exports : typeof import("tests/cases/conformance/jsdoc/declarations/cjs")
|
||||
>module.exports = { ns } : typeof module.exports
|
||||
>module.exports : typeof module.exports
|
||||
>module : { exports: typeof module.exports; }
|
||||
>exports : typeof module.exports
|
||||
>{ ns } : { ns: typeof ns; }
|
||||
>ns : typeof ns
|
||||
|
||||
@@ -67,7 +67,7 @@ const ns = require("./cls");
|
||||
module.exports = ns;
|
||||
>module.exports = ns : typeof ns
|
||||
>module.exports : typeof ns
|
||||
>module : { "\"tests/cases/conformance/jsdoc/declarations/cjs2\"": typeof ns; }
|
||||
>module : { exports: typeof ns; }
|
||||
>exports : typeof ns
|
||||
>ns : typeof ns
|
||||
|
||||
@@ -81,9 +81,9 @@ const ns = require("./cls");
|
||||
module.exports.ns = ns;
|
||||
>module.exports.ns = ns : typeof ns
|
||||
>module.exports.ns : typeof ns
|
||||
>module.exports : typeof import("tests/cases/conformance/jsdoc/declarations/cjs3")
|
||||
>module : { "\"tests/cases/conformance/jsdoc/declarations/cjs3\"": typeof import("tests/cases/conformance/jsdoc/declarations/cjs3"); }
|
||||
>exports : typeof import("tests/cases/conformance/jsdoc/declarations/cjs3")
|
||||
>module.exports : typeof module.exports
|
||||
>module : { exports: typeof module.exports; }
|
||||
>exports : typeof module.exports
|
||||
>ns : typeof ns
|
||||
>ns : typeof ns
|
||||
|
||||
@@ -97,9 +97,9 @@ const ns = require("./cls");
|
||||
module.exports.names = ns;
|
||||
>module.exports.names = ns : typeof ns
|
||||
>module.exports.names : typeof ns
|
||||
>module.exports : typeof import("tests/cases/conformance/jsdoc/declarations/cjs4")
|
||||
>module : { "\"tests/cases/conformance/jsdoc/declarations/cjs4\"": typeof import("tests/cases/conformance/jsdoc/declarations/cjs4"); }
|
||||
>exports : typeof import("tests/cases/conformance/jsdoc/declarations/cjs4")
|
||||
>module.exports : typeof module.exports
|
||||
>module : { exports: typeof module.exports; }
|
||||
>exports : typeof module.exports
|
||||
>names : typeof ns
|
||||
>ns : typeof ns
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ class Foo {}
|
||||
>Foo : Symbol(Foo, Decl(cls.js, 3, 2))
|
||||
|
||||
module.exports = Foo;
|
||||
>module.exports : Symbol("tests/cases/conformance/jsdoc/declarations/cls", Decl(cls.js, 0, 0))
|
||||
>module.exports : Symbol(module.exports, Decl(cls.js, 0, 0))
|
||||
>module : Symbol(export=, Decl(cls.js, 4, 12))
|
||||
>exports : Symbol(export=, Decl(cls.js, 4, 12))
|
||||
>Foo : Symbol(Foo, Decl(cls.js, 3, 2))
|
||||
@@ -22,7 +22,7 @@ module.exports.Strings = Strings;
|
||||
>module.exports.Strings : Symbol(Strings, Decl(cls.js, 5, 21))
|
||||
>module.exports : Symbol(Strings, Decl(cls.js, 5, 21))
|
||||
>module : Symbol(module, Decl(cls.js, 4, 12))
|
||||
>exports : Symbol("tests/cases/conformance/jsdoc/declarations/cls", Decl(cls.js, 0, 0))
|
||||
>exports : Symbol(module.exports, Decl(cls.js, 0, 0))
|
||||
>Strings : Symbol(Strings, Decl(cls.js, 5, 21))
|
||||
>Strings : Symbol(Strings, Decl(cls.js, 0, 5))
|
||||
|
||||
@@ -18,7 +18,7 @@ class Foo {}
|
||||
module.exports = Foo;
|
||||
>module.exports = Foo : typeof Foo
|
||||
>module.exports : typeof Foo
|
||||
>module : { "\"tests/cases/conformance/jsdoc/declarations/cls\"": typeof Foo; }
|
||||
>module : { exports: typeof Foo; }
|
||||
>exports : typeof Foo
|
||||
>Foo : typeof Foo
|
||||
|
||||
@@ -26,7 +26,7 @@ module.exports.Strings = Strings;
|
||||
>module.exports.Strings = Strings : { a: string; b: string; }
|
||||
>module.exports.Strings : { a: string; b: string; }
|
||||
>module.exports : typeof Foo
|
||||
>module : { "\"tests/cases/conformance/jsdoc/declarations/cls\"": typeof Foo; }
|
||||
>module : { exports: typeof Foo; }
|
||||
>exports : typeof Foo
|
||||
>Strings : { a: string; b: string; }
|
||||
>Strings : { a: string; b: string; }
|
||||
|
||||
@@ -6,9 +6,9 @@ const errors = require("./errors");
|
||||
>"./errors" : Symbol(errors, Decl(errors.js, 0, 0))
|
||||
|
||||
module.exports = {
|
||||
>module.exports : Symbol("tests/cases/conformance/jsdoc/declarations/utils/index", Decl(index.js, 0, 0))
|
||||
>module.exports : Symbol(module.exports, Decl(index.js, 0, 0))
|
||||
>module : Symbol(module, Decl(index.js, 1, 35))
|
||||
>exports : Symbol("tests/cases/conformance/jsdoc/declarations/utils/index", Decl(index.js, 0, 0))
|
||||
>exports : Symbol(module.exports, Decl(index.js, 0, 0))
|
||||
|
||||
errors
|
||||
>errors : Symbol(errors, Decl(index.js, 3, 18))
|
||||
@@ -29,9 +29,9 @@ class FancyError extends Error {
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
>module.exports : Symbol("tests/cases/conformance/jsdoc/declarations/utils/errors", Decl(errors.js, 0, 0))
|
||||
>module.exports : Symbol(module.exports, Decl(errors.js, 0, 0))
|
||||
>module : Symbol(module, Decl(errors.js, 4, 1))
|
||||
>exports : Symbol("tests/cases/conformance/jsdoc/declarations/utils/errors", Decl(errors.js, 0, 0))
|
||||
>exports : Symbol(module.exports, Decl(errors.js, 0, 0))
|
||||
|
||||
FancyError
|
||||
>FancyError : Symbol(FancyError, Decl(errors.js, 6, 18))
|
||||
|
||||
@@ -7,10 +7,10 @@ const errors = require("./errors");
|
||||
>"./errors" : "./errors"
|
||||
|
||||
module.exports = {
|
||||
>module.exports = { errors} : typeof import("tests/cases/conformance/jsdoc/declarations/utils/index")
|
||||
>module.exports : typeof import("tests/cases/conformance/jsdoc/declarations/utils/index")
|
||||
>module : { "\"tests/cases/conformance/jsdoc/declarations/utils/index\"": typeof import("tests/cases/conformance/jsdoc/declarations/utils/index"); }
|
||||
>exports : typeof import("tests/cases/conformance/jsdoc/declarations/utils/index")
|
||||
>module.exports = { errors} : typeof module.exports
|
||||
>module.exports : typeof module.exports
|
||||
>module : { exports: typeof module.exports; }
|
||||
>exports : typeof module.exports
|
||||
>{ errors} : { errors: typeof errors; }
|
||||
|
||||
errors
|
||||
@@ -34,10 +34,10 @@ class FancyError extends Error {
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
>module.exports = { FancyError} : typeof import("tests/cases/conformance/jsdoc/declarations/utils/errors")
|
||||
>module.exports : typeof import("tests/cases/conformance/jsdoc/declarations/utils/errors")
|
||||
>module : { "\"tests/cases/conformance/jsdoc/declarations/utils/errors\"": typeof import("tests/cases/conformance/jsdoc/declarations/utils/errors"); }
|
||||
>exports : typeof import("tests/cases/conformance/jsdoc/declarations/utils/errors")
|
||||
>module.exports = { FancyError} : typeof module.exports
|
||||
>module.exports : typeof module.exports
|
||||
>module : { exports: typeof module.exports; }
|
||||
>exports : typeof module.exports
|
||||
>{ FancyError} : { FancyError: typeof FancyError; }
|
||||
|
||||
FancyError
|
||||
|
||||
@@ -13,7 +13,7 @@ function Timer(timeout) {
|
||||
>timeout : Symbol(timeout, Decl(timer.js, 3, 15))
|
||||
}
|
||||
module.exports = Timer;
|
||||
>module.exports : Symbol("tests/cases/conformance/jsdoc/declarations/timer", Decl(timer.js, 0, 0))
|
||||
>module.exports : Symbol(module.exports, Decl(timer.js, 0, 0))
|
||||
>module : Symbol(export=, Decl(timer.js, 5, 1))
|
||||
>exports : Symbol(export=, Decl(timer.js, 5, 1))
|
||||
>Timer : Symbol(Timer, Decl(timer.js, 0, 0))
|
||||
@@ -36,7 +36,7 @@ function Hook(handle) {
|
||||
>handle : Symbol(handle, Decl(hook.js, 6, 14))
|
||||
}
|
||||
module.exports = Hook;
|
||||
>module.exports : Symbol("tests/cases/conformance/jsdoc/declarations/hook", Decl(hook.js, 0, 0))
|
||||
>module.exports : Symbol(module.exports, Decl(hook.js, 0, 0))
|
||||
>module : Symbol(export=, Decl(hook.js, 8, 1))
|
||||
>exports : Symbol(export=, Decl(hook.js, 8, 1))
|
||||
>Hook : Symbol(Hook, Decl(hook.js, 0, 0))
|
||||
@@ -112,7 +112,7 @@ Context.prototype = {
|
||||
}
|
||||
}
|
||||
module.exports = Context;
|
||||
>module.exports : Symbol("tests/cases/conformance/jsdoc/declarations/context", Decl(context.js, 0, 0))
|
||||
>module.exports : Symbol(module.exports, Decl(context.js, 0, 0))
|
||||
>module : Symbol(export=, Decl(context.js, 46, 1))
|
||||
>exports : Symbol(export=, Decl(context.js, 46, 1))
|
||||
>Context : Symbol(Context, Decl(context.js, 0, 0), Decl(context.js, 36, 1))
|
||||
|
||||
@@ -16,7 +16,7 @@ function Timer(timeout) {
|
||||
module.exports = Timer;
|
||||
>module.exports = Timer : typeof Timer
|
||||
>module.exports : typeof Timer
|
||||
>module : { "\"tests/cases/conformance/jsdoc/declarations/timer\"": typeof Timer; }
|
||||
>module : { exports: typeof Timer; }
|
||||
>exports : typeof Timer
|
||||
>Timer : typeof Timer
|
||||
|
||||
@@ -41,7 +41,7 @@ function Hook(handle) {
|
||||
module.exports = Hook;
|
||||
>module.exports = Hook : typeof Hook
|
||||
>module.exports : typeof Hook
|
||||
>module : { "\"tests/cases/conformance/jsdoc/declarations/hook\"": typeof Hook; }
|
||||
>module : { exports: typeof Hook; }
|
||||
>exports : typeof Hook
|
||||
>Hook : typeof Hook
|
||||
|
||||
@@ -131,7 +131,7 @@ Context.prototype = {
|
||||
module.exports = Context;
|
||||
>module.exports = Context : { (input: Input): Context; new (input: Input): Context; prototype: { construct(input: Input, handle?: import("tests/cases/conformance/jsdoc/declarations/hook").HookHandler): State; }; }
|
||||
>module.exports : { (input: Input): Context; new (input: Input): Context; prototype: { construct(input: Input, handle?: import("tests/cases/conformance/jsdoc/declarations/hook").HookHandler): State; }; }
|
||||
>module : { "\"tests/cases/conformance/jsdoc/declarations/context\"": { (input: Input): Context; new (input: Input): Context; prototype: { construct(input: Input, handle?: import("tests/cases/conformance/jsdoc/declarations/hook").HookHandler): State; }; }; }
|
||||
>module : { exports: { (input: Input): Context; new (input: Input): Context; prototype: { construct(input: Input, handle?: import("tests/cases/conformance/jsdoc/declarations/hook").HookHandler): State; }; }; }
|
||||
>exports : { (input: Input): Context; new (input: Input): Context; prototype: { construct(input: Input, handle?: import("tests/cases/conformance/jsdoc/declarations/hook").HookHandler): State; }; }
|
||||
>Context : typeof Context
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
=== tests/cases/conformance/jsdoc/declarations/source.js ===
|
||||
module.exports = MyClass;
|
||||
>module.exports : Symbol("tests/cases/conformance/jsdoc/declarations/source", Decl(source.js, 0, 0))
|
||||
>module.exports : Symbol(module.exports, Decl(source.js, 0, 0))
|
||||
>module : Symbol(export=, Decl(source.js, 0, 0))
|
||||
>exports : Symbol(export=, Decl(source.js, 0, 0))
|
||||
>MyClass : Symbol(MyClass, Decl(source.js, 0, 25), Decl(source.js, 2, 21), Decl(source.js, 4, 40))
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
module.exports = MyClass;
|
||||
>module.exports = MyClass : typeof MyClass
|
||||
>module.exports : typeof MyClass
|
||||
>module : { "\"tests/cases/conformance/jsdoc/declarations/source\"": typeof MyClass; }
|
||||
>module : { exports: typeof MyClass; }
|
||||
>exports : typeof MyClass
|
||||
>MyClass : typeof MyClass
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@ foo.default = foo;
|
||||
>foo : Symbol(foo, Decl(index.js, 0, 0), Decl(index.js, 0, 17), Decl(index.js, 2, 14))
|
||||
|
||||
module.exports = foo;
|
||||
>module.exports : Symbol("tests/cases/conformance/jsdoc/declarations/index", Decl(index.js, 0, 0))
|
||||
>module.exports : Symbol(module.exports, Decl(index.js, 0, 0))
|
||||
>module : Symbol(export=, Decl(index.js, 3, 18))
|
||||
>exports : Symbol(export=, Decl(index.js, 3, 18))
|
||||
>foo : Symbol(foo, Decl(index.js, 0, 0), Decl(index.js, 0, 17), Decl(index.js, 2, 14))
|
||||
|
||||
@@ -19,7 +19,7 @@ foo.default = foo;
|
||||
module.exports = foo;
|
||||
>module.exports = foo : typeof foo
|
||||
>module.exports : typeof foo
|
||||
>module : { "\"tests/cases/conformance/jsdoc/declarations/index\"": typeof foo; }
|
||||
>module : { exports: typeof foo; }
|
||||
>exports : typeof foo
|
||||
>foo : typeof foo
|
||||
|
||||
@@ -3,7 +3,7 @@ module.exports.a = function a() {}
|
||||
>module.exports.a : Symbol(a, Decl(index.js, 0, 0))
|
||||
>module.exports : Symbol(a, Decl(index.js, 0, 0))
|
||||
>module : Symbol(module, Decl(index.js, 0, 0))
|
||||
>exports : Symbol("tests/cases/conformance/jsdoc/declarations/index", Decl(index.js, 0, 0))
|
||||
>exports : Symbol(module.exports, Decl(index.js, 0, 0))
|
||||
>a : Symbol(a, Decl(index.js, 0, 0))
|
||||
>a : Symbol(a, Decl(index.js, 0, 18))
|
||||
|
||||
@@ -11,16 +11,16 @@ module.exports.b = function b() {}
|
||||
>module.exports.b : Symbol(b, Decl(index.js, 0, 34), Decl(index.js, 3, 15))
|
||||
>module.exports : Symbol(b, Decl(index.js, 0, 34), Decl(index.js, 3, 15))
|
||||
>module : Symbol(module, Decl(index.js, 0, 0))
|
||||
>exports : Symbol("tests/cases/conformance/jsdoc/declarations/index", Decl(index.js, 0, 0))
|
||||
>exports : Symbol(module.exports, Decl(index.js, 0, 0))
|
||||
>b : Symbol(b, Decl(index.js, 0, 34), Decl(index.js, 3, 15))
|
||||
>b : Symbol(b, Decl(index.js, 2, 18))
|
||||
|
||||
module.exports.b.cat = "cat";
|
||||
>module.exports.b.cat : Symbol(b.cat, Decl(index.js, 2, 34))
|
||||
>module.exports.b : Symbol(b.cat, Decl(index.js, 2, 34))
|
||||
>module.exports : Symbol("tests/cases/conformance/jsdoc/declarations/index", Decl(index.js, 0, 0))
|
||||
>module.exports : Symbol(module.exports, Decl(index.js, 0, 0))
|
||||
>module : Symbol(module, Decl(index.js, 0, 0))
|
||||
>exports : Symbol("tests/cases/conformance/jsdoc/declarations/index", Decl(index.js, 0, 0))
|
||||
>exports : Symbol(module.exports, Decl(index.js, 0, 0))
|
||||
>b : Symbol(b, Decl(index.js, 0, 34), Decl(index.js, 3, 15))
|
||||
>cat : Symbol(b.cat, Decl(index.js, 2, 34))
|
||||
|
||||
@@ -28,16 +28,16 @@ module.exports.c = function c() {}
|
||||
>module.exports.c : Symbol(c, Decl(index.js, 3, 29), Decl(index.js, 6, 15))
|
||||
>module.exports : Symbol(c, Decl(index.js, 3, 29), Decl(index.js, 6, 15))
|
||||
>module : Symbol(module, Decl(index.js, 0, 0))
|
||||
>exports : Symbol("tests/cases/conformance/jsdoc/declarations/index", Decl(index.js, 0, 0))
|
||||
>exports : Symbol(module.exports, Decl(index.js, 0, 0))
|
||||
>c : Symbol(c, Decl(index.js, 3, 29), Decl(index.js, 6, 15))
|
||||
>c : Symbol(c, Decl(index.js, 5, 18))
|
||||
|
||||
module.exports.c.Cls = class {}
|
||||
>module.exports.c.Cls : Symbol(c.Cls, Decl(index.js, 5, 34))
|
||||
>module.exports.c : Symbol(c.Cls, Decl(index.js, 5, 34))
|
||||
>module.exports : Symbol("tests/cases/conformance/jsdoc/declarations/index", Decl(index.js, 0, 0))
|
||||
>module.exports : Symbol(module.exports, Decl(index.js, 0, 0))
|
||||
>module : Symbol(module, Decl(index.js, 0, 0))
|
||||
>exports : Symbol("tests/cases/conformance/jsdoc/declarations/index", Decl(index.js, 0, 0))
|
||||
>exports : Symbol(module.exports, Decl(index.js, 0, 0))
|
||||
>c : Symbol(c, Decl(index.js, 3, 29), Decl(index.js, 6, 15))
|
||||
>Cls : Symbol(c.Cls, Decl(index.js, 5, 34))
|
||||
|
||||
@@ -50,7 +50,7 @@ module.exports.d = function d(a, b) { return /** @type {*} */(null); }
|
||||
>module.exports.d : Symbol(d, Decl(index.js, 6, 31))
|
||||
>module.exports : Symbol(d, Decl(index.js, 6, 31))
|
||||
>module : Symbol(module, Decl(index.js, 0, 0))
|
||||
>exports : Symbol("tests/cases/conformance/jsdoc/declarations/index", Decl(index.js, 0, 0))
|
||||
>exports : Symbol(module.exports, Decl(index.js, 0, 0))
|
||||
>d : Symbol(d, Decl(index.js, 6, 31))
|
||||
>d : Symbol(d, Decl(index.js, 13, 18))
|
||||
>a : Symbol(a, Decl(index.js, 13, 30))
|
||||
@@ -66,7 +66,7 @@ module.exports.e = function e(a, b) { return /** @type {*} */(null); }
|
||||
>module.exports.e : Symbol(e, Decl(index.js, 13, 70))
|
||||
>module.exports : Symbol(e, Decl(index.js, 13, 70))
|
||||
>module : Symbol(module, Decl(index.js, 0, 0))
|
||||
>exports : Symbol("tests/cases/conformance/jsdoc/declarations/index", Decl(index.js, 0, 0))
|
||||
>exports : Symbol(module.exports, Decl(index.js, 0, 0))
|
||||
>e : Symbol(e, Decl(index.js, 13, 70))
|
||||
>e : Symbol(e, Decl(index.js, 21, 18))
|
||||
>a : Symbol(a, Decl(index.js, 21, 30))
|
||||
@@ -80,7 +80,7 @@ module.exports.f = function f(a) {
|
||||
>module.exports.f : Symbol(f, Decl(index.js, 21, 70), Decl(index.js, 30, 15))
|
||||
>module.exports : Symbol(f, Decl(index.js, 21, 70), Decl(index.js, 30, 15))
|
||||
>module : Symbol(module, Decl(index.js, 0, 0))
|
||||
>exports : Symbol("tests/cases/conformance/jsdoc/declarations/index", Decl(index.js, 0, 0))
|
||||
>exports : Symbol(module.exports, Decl(index.js, 0, 0))
|
||||
>f : Symbol(f, Decl(index.js, 21, 70), Decl(index.js, 30, 15))
|
||||
>f : Symbol(f, Decl(index.js, 27, 18))
|
||||
>a : Symbol(a, Decl(index.js, 27, 30))
|
||||
@@ -91,15 +91,15 @@ module.exports.f = function f(a) {
|
||||
module.exports.f.self = module.exports.f;
|
||||
>module.exports.f.self : Symbol(f.self, Decl(index.js, 29, 1))
|
||||
>module.exports.f : Symbol(f.self, Decl(index.js, 29, 1))
|
||||
>module.exports : Symbol("tests/cases/conformance/jsdoc/declarations/index", Decl(index.js, 0, 0))
|
||||
>module.exports : Symbol(module.exports, Decl(index.js, 0, 0))
|
||||
>module : Symbol(module, Decl(index.js, 0, 0))
|
||||
>exports : Symbol("tests/cases/conformance/jsdoc/declarations/index", Decl(index.js, 0, 0))
|
||||
>exports : Symbol(module.exports, Decl(index.js, 0, 0))
|
||||
>f : Symbol(f, Decl(index.js, 21, 70), Decl(index.js, 30, 15))
|
||||
>self : Symbol(f.self, Decl(index.js, 29, 1))
|
||||
>module.exports.f : Symbol(f, Decl(index.js, 21, 70), Decl(index.js, 30, 15))
|
||||
>module.exports : Symbol("tests/cases/conformance/jsdoc/declarations/index", Decl(index.js, 0, 0))
|
||||
>module.exports : Symbol(module.exports, Decl(index.js, 0, 0))
|
||||
>module : Symbol(module, Decl(index.js, 0, 0))
|
||||
>exports : Symbol("tests/cases/conformance/jsdoc/declarations/index", Decl(index.js, 0, 0))
|
||||
>exports : Symbol(module.exports, Decl(index.js, 0, 0))
|
||||
>f : Symbol(f, Decl(index.js, 21, 70), Decl(index.js, 30, 15))
|
||||
|
||||
/**
|
||||
@@ -124,7 +124,7 @@ module.exports.g = g;
|
||||
>module.exports.g : Symbol(g, Decl(index.js, 38, 1))
|
||||
>module.exports : Symbol(g, Decl(index.js, 38, 1))
|
||||
>module : Symbol(module, Decl(index.js, 0, 0))
|
||||
>exports : Symbol("tests/cases/conformance/jsdoc/declarations/index", Decl(index.js, 0, 0))
|
||||
>exports : Symbol(module.exports, Decl(index.js, 0, 0))
|
||||
>g : Symbol(g, Decl(index.js, 38, 1))
|
||||
>g : Symbol(g, Decl(index.js, 30, 41))
|
||||
|
||||
@@ -150,7 +150,7 @@ module.exports.h = hh;
|
||||
>module.exports.h : Symbol(h, Decl(index.js, 48, 1))
|
||||
>module.exports : Symbol(h, Decl(index.js, 48, 1))
|
||||
>module : Symbol(module, Decl(index.js, 0, 0))
|
||||
>exports : Symbol("tests/cases/conformance/jsdoc/declarations/index", Decl(index.js, 0, 0))
|
||||
>exports : Symbol(module.exports, Decl(index.js, 0, 0))
|
||||
>h : Symbol(h, Decl(index.js, 48, 1))
|
||||
>hh : Symbol(hh, Decl(index.js, 40, 21))
|
||||
|
||||
@@ -158,7 +158,7 @@ module.exports.i = function i() {}
|
||||
>module.exports.i : Symbol(i, Decl(index.js, 50, 22))
|
||||
>module.exports : Symbol(i, Decl(index.js, 50, 22))
|
||||
>module : Symbol(module, Decl(index.js, 0, 0))
|
||||
>exports : Symbol("tests/cases/conformance/jsdoc/declarations/index", Decl(index.js, 0, 0))
|
||||
>exports : Symbol(module.exports, Decl(index.js, 0, 0))
|
||||
>i : Symbol(i, Decl(index.js, 50, 22))
|
||||
>i : Symbol(i, Decl(index.js, 52, 18))
|
||||
|
||||
@@ -166,12 +166,12 @@ module.exports.ii = module.exports.i;
|
||||
>module.exports.ii : Symbol(ii, Decl(index.js, 52, 34))
|
||||
>module.exports : Symbol(ii, Decl(index.js, 52, 34))
|
||||
>module : Symbol(module, Decl(index.js, 0, 0))
|
||||
>exports : Symbol("tests/cases/conformance/jsdoc/declarations/index", Decl(index.js, 0, 0))
|
||||
>exports : Symbol(module.exports, Decl(index.js, 0, 0))
|
||||
>ii : Symbol(ii, Decl(index.js, 52, 34))
|
||||
>module.exports.i : Symbol(i, Decl(index.js, 50, 22))
|
||||
>module.exports : Symbol("tests/cases/conformance/jsdoc/declarations/index", Decl(index.js, 0, 0))
|
||||
>module.exports : Symbol(module.exports, Decl(index.js, 0, 0))
|
||||
>module : Symbol(module, Decl(index.js, 0, 0))
|
||||
>exports : Symbol("tests/cases/conformance/jsdoc/declarations/index", Decl(index.js, 0, 0))
|
||||
>exports : Symbol(module.exports, Decl(index.js, 0, 0))
|
||||
>i : Symbol(i, Decl(index.js, 50, 22))
|
||||
|
||||
// note that this last one doesn't make much sense in cjs, since exports aren't hoisted bindings
|
||||
@@ -179,19 +179,19 @@ module.exports.jj = module.exports.j;
|
||||
>module.exports.jj : Symbol(jj, Decl(index.js, 53, 37))
|
||||
>module.exports : Symbol(jj, Decl(index.js, 53, 37))
|
||||
>module : Symbol(module, Decl(index.js, 0, 0))
|
||||
>exports : Symbol("tests/cases/conformance/jsdoc/declarations/index", Decl(index.js, 0, 0))
|
||||
>exports : Symbol(module.exports, Decl(index.js, 0, 0))
|
||||
>jj : Symbol(jj, Decl(index.js, 53, 37))
|
||||
>module.exports.j : Symbol(j, Decl(index.js, 56, 37))
|
||||
>module.exports : Symbol("tests/cases/conformance/jsdoc/declarations/index", Decl(index.js, 0, 0))
|
||||
>module.exports : Symbol(module.exports, Decl(index.js, 0, 0))
|
||||
>module : Symbol(module, Decl(index.js, 0, 0))
|
||||
>exports : Symbol("tests/cases/conformance/jsdoc/declarations/index", Decl(index.js, 0, 0))
|
||||
>exports : Symbol(module.exports, Decl(index.js, 0, 0))
|
||||
>j : Symbol(j, Decl(index.js, 56, 37))
|
||||
|
||||
module.exports.j = function j() {}
|
||||
>module.exports.j : Symbol(j, Decl(index.js, 56, 37))
|
||||
>module.exports : Symbol(j, Decl(index.js, 56, 37))
|
||||
>module : Symbol(module, Decl(index.js, 0, 0))
|
||||
>exports : Symbol("tests/cases/conformance/jsdoc/declarations/index", Decl(index.js, 0, 0))
|
||||
>exports : Symbol(module.exports, Decl(index.js, 0, 0))
|
||||
>j : Symbol(j, Decl(index.js, 56, 37))
|
||||
>j : Symbol(j, Decl(index.js, 57, 18))
|
||||
|
||||
@@ -2,9 +2,9 @@
|
||||
module.exports.a = function a() {}
|
||||
>module.exports.a = function a() {} : () => void
|
||||
>module.exports.a : () => void
|
||||
>module.exports : typeof import("tests/cases/conformance/jsdoc/declarations/index")
|
||||
>module : { "\"tests/cases/conformance/jsdoc/declarations/index\"": typeof import("tests/cases/conformance/jsdoc/declarations/index"); }
|
||||
>exports : typeof import("tests/cases/conformance/jsdoc/declarations/index")
|
||||
>module.exports : typeof module.exports
|
||||
>module : { exports: typeof module.exports; }
|
||||
>exports : typeof module.exports
|
||||
>a : () => void
|
||||
>function a() {} : () => void
|
||||
>a : () => void
|
||||
@@ -12,9 +12,9 @@ module.exports.a = function a() {}
|
||||
module.exports.b = function b() {}
|
||||
>module.exports.b = function b() {} : { (): void; cat: string; }
|
||||
>module.exports.b : { (): void; cat: string; }
|
||||
>module.exports : typeof import("tests/cases/conformance/jsdoc/declarations/index")
|
||||
>module : { "\"tests/cases/conformance/jsdoc/declarations/index\"": typeof import("tests/cases/conformance/jsdoc/declarations/index"); }
|
||||
>exports : typeof import("tests/cases/conformance/jsdoc/declarations/index")
|
||||
>module.exports : typeof module.exports
|
||||
>module : { exports: typeof module.exports; }
|
||||
>exports : typeof module.exports
|
||||
>b : { (): void; cat: string; }
|
||||
>function b() {} : { (): void; cat: string; }
|
||||
>b : { (): void; cat: string; }
|
||||
@@ -23,9 +23,9 @@ module.exports.b.cat = "cat";
|
||||
>module.exports.b.cat = "cat" : "cat"
|
||||
>module.exports.b.cat : string
|
||||
>module.exports.b : { (): void; cat: string; }
|
||||
>module.exports : typeof import("tests/cases/conformance/jsdoc/declarations/index")
|
||||
>module : { "\"tests/cases/conformance/jsdoc/declarations/index\"": typeof import("tests/cases/conformance/jsdoc/declarations/index"); }
|
||||
>exports : typeof import("tests/cases/conformance/jsdoc/declarations/index")
|
||||
>module.exports : typeof module.exports
|
||||
>module : { exports: typeof module.exports; }
|
||||
>exports : typeof module.exports
|
||||
>b : { (): void; cat: string; }
|
||||
>cat : string
|
||||
>"cat" : "cat"
|
||||
@@ -33,9 +33,9 @@ module.exports.b.cat = "cat";
|
||||
module.exports.c = function c() {}
|
||||
>module.exports.c = function c() {} : { (): void; Cls: typeof Cls; }
|
||||
>module.exports.c : { (): void; Cls: typeof Cls; }
|
||||
>module.exports : typeof import("tests/cases/conformance/jsdoc/declarations/index")
|
||||
>module : { "\"tests/cases/conformance/jsdoc/declarations/index\"": typeof import("tests/cases/conformance/jsdoc/declarations/index"); }
|
||||
>exports : typeof import("tests/cases/conformance/jsdoc/declarations/index")
|
||||
>module.exports : typeof module.exports
|
||||
>module : { exports: typeof module.exports; }
|
||||
>exports : typeof module.exports
|
||||
>c : { (): void; Cls: typeof Cls; }
|
||||
>function c() {} : { (): void; Cls: typeof Cls; }
|
||||
>c : { (): void; Cls: typeof Cls; }
|
||||
@@ -44,9 +44,9 @@ module.exports.c.Cls = class {}
|
||||
>module.exports.c.Cls = class {} : typeof Cls
|
||||
>module.exports.c.Cls : typeof Cls
|
||||
>module.exports.c : { (): void; Cls: typeof Cls; }
|
||||
>module.exports : typeof import("tests/cases/conformance/jsdoc/declarations/index")
|
||||
>module : { "\"tests/cases/conformance/jsdoc/declarations/index\"": typeof import("tests/cases/conformance/jsdoc/declarations/index"); }
|
||||
>exports : typeof import("tests/cases/conformance/jsdoc/declarations/index")
|
||||
>module.exports : typeof module.exports
|
||||
>module : { exports: typeof module.exports; }
|
||||
>exports : typeof module.exports
|
||||
>c : { (): void; Cls: typeof Cls; }
|
||||
>Cls : typeof Cls
|
||||
>class {} : typeof Cls
|
||||
@@ -59,9 +59,9 @@ module.exports.c.Cls = class {}
|
||||
module.exports.d = function d(a, b) { return /** @type {*} */(null); }
|
||||
>module.exports.d = function d(a, b) { return /** @type {*} */(null); } : (a: number, b: number) => string
|
||||
>module.exports.d : (a: number, b: number) => string
|
||||
>module.exports : typeof import("tests/cases/conformance/jsdoc/declarations/index")
|
||||
>module : { "\"tests/cases/conformance/jsdoc/declarations/index\"": typeof import("tests/cases/conformance/jsdoc/declarations/index"); }
|
||||
>exports : typeof import("tests/cases/conformance/jsdoc/declarations/index")
|
||||
>module.exports : typeof module.exports
|
||||
>module : { exports: typeof module.exports; }
|
||||
>exports : typeof module.exports
|
||||
>d : (a: number, b: number) => string
|
||||
>function d(a, b) { return /** @type {*} */(null); } : (a: number, b: number) => string
|
||||
>d : (a: number, b: number) => string
|
||||
@@ -79,9 +79,9 @@ module.exports.d = function d(a, b) { return /** @type {*} */(null); }
|
||||
module.exports.e = function e(a, b) { return /** @type {*} */(null); }
|
||||
>module.exports.e = function e(a, b) { return /** @type {*} */(null); } : <T, U>(a: T, b: U) => T & U
|
||||
>module.exports.e : <T, U>(a: T, b: U) => T & U
|
||||
>module.exports : typeof import("tests/cases/conformance/jsdoc/declarations/index")
|
||||
>module : { "\"tests/cases/conformance/jsdoc/declarations/index\"": typeof import("tests/cases/conformance/jsdoc/declarations/index"); }
|
||||
>exports : typeof import("tests/cases/conformance/jsdoc/declarations/index")
|
||||
>module.exports : typeof module.exports
|
||||
>module : { exports: typeof module.exports; }
|
||||
>exports : typeof module.exports
|
||||
>e : <T, U>(a: T, b: U) => T & U
|
||||
>function e(a, b) { return /** @type {*} */(null); } : <T, U>(a: T, b: U) => T & U
|
||||
>e : <T, U>(a: T, b: U) => T & U
|
||||
@@ -97,9 +97,9 @@ module.exports.e = function e(a, b) { return /** @type {*} */(null); }
|
||||
module.exports.f = function f(a) {
|
||||
>module.exports.f = function f(a) { return a;} : { <T>(a: T): T; self: any; }
|
||||
>module.exports.f : { <T>(a: T): T; self: any; }
|
||||
>module.exports : typeof import("tests/cases/conformance/jsdoc/declarations/index")
|
||||
>module : { "\"tests/cases/conformance/jsdoc/declarations/index\"": typeof import("tests/cases/conformance/jsdoc/declarations/index"); }
|
||||
>exports : typeof import("tests/cases/conformance/jsdoc/declarations/index")
|
||||
>module.exports : typeof module.exports
|
||||
>module : { exports: typeof module.exports; }
|
||||
>exports : typeof module.exports
|
||||
>f : { <T>(a: T): T; self: any; }
|
||||
>function f(a) { return a;} : { <T>(a: T): T; self: any; }
|
||||
>f : { <T>(a: T): T; self: any; }
|
||||
@@ -112,15 +112,15 @@ module.exports.f.self = module.exports.f;
|
||||
>module.exports.f.self = module.exports.f : { <T>(a: T): T; self: any; }
|
||||
>module.exports.f.self : { <T>(a: T): T; self: any; }
|
||||
>module.exports.f : { <T>(a: T): T; self: any; }
|
||||
>module.exports : typeof import("tests/cases/conformance/jsdoc/declarations/index")
|
||||
>module : { "\"tests/cases/conformance/jsdoc/declarations/index\"": typeof import("tests/cases/conformance/jsdoc/declarations/index"); }
|
||||
>exports : typeof import("tests/cases/conformance/jsdoc/declarations/index")
|
||||
>module.exports : typeof module.exports
|
||||
>module : { exports: typeof module.exports; }
|
||||
>exports : typeof module.exports
|
||||
>f : { <T>(a: T): T; self: any; }
|
||||
>self : { <T>(a: T): T; self: any; }
|
||||
>module.exports.f : { <T>(a: T): T; self: any; }
|
||||
>module.exports : typeof import("tests/cases/conformance/jsdoc/declarations/index")
|
||||
>module : { "\"tests/cases/conformance/jsdoc/declarations/index\"": typeof import("tests/cases/conformance/jsdoc/declarations/index"); }
|
||||
>exports : typeof import("tests/cases/conformance/jsdoc/declarations/index")
|
||||
>module.exports : typeof module.exports
|
||||
>module : { exports: typeof module.exports; }
|
||||
>exports : typeof module.exports
|
||||
>f : { <T>(a: T): T; self: any; }
|
||||
|
||||
/**
|
||||
@@ -146,9 +146,9 @@ function g(a, b) {
|
||||
module.exports.g = g;
|
||||
>module.exports.g = g : (a: { x: string; }, b: { y: { (): void; cat: string; }; }) => void
|
||||
>module.exports.g : (a: { x: string; }, b: { y: { (): void; cat: string; }; }) => void
|
||||
>module.exports : typeof import("tests/cases/conformance/jsdoc/declarations/index")
|
||||
>module : { "\"tests/cases/conformance/jsdoc/declarations/index\"": typeof import("tests/cases/conformance/jsdoc/declarations/index"); }
|
||||
>exports : typeof import("tests/cases/conformance/jsdoc/declarations/index")
|
||||
>module.exports : typeof module.exports
|
||||
>module : { exports: typeof module.exports; }
|
||||
>exports : typeof module.exports
|
||||
>g : (a: { x: string; }, b: { y: { (): void; cat: string; }; }) => void
|
||||
>g : (a: { x: string; }, b: { y: { (): void; cat: string; }; }) => void
|
||||
|
||||
@@ -175,18 +175,18 @@ function hh(a, b) {
|
||||
module.exports.h = hh;
|
||||
>module.exports.h = hh : (a: { x: string; }, b: { y: { (): void; cat: string; }; }) => void
|
||||
>module.exports.h : (a: { x: string; }, b: { y: { (): void; cat: string; }; }) => void
|
||||
>module.exports : typeof import("tests/cases/conformance/jsdoc/declarations/index")
|
||||
>module : { "\"tests/cases/conformance/jsdoc/declarations/index\"": typeof import("tests/cases/conformance/jsdoc/declarations/index"); }
|
||||
>exports : typeof import("tests/cases/conformance/jsdoc/declarations/index")
|
||||
>module.exports : typeof module.exports
|
||||
>module : { exports: typeof module.exports; }
|
||||
>exports : typeof module.exports
|
||||
>h : (a: { x: string; }, b: { y: { (): void; cat: string; }; }) => void
|
||||
>hh : (a: { x: string; }, b: { y: { (): void; cat: string; }; }) => void
|
||||
|
||||
module.exports.i = function i() {}
|
||||
>module.exports.i = function i() {} : () => void
|
||||
>module.exports.i : () => void
|
||||
>module.exports : typeof import("tests/cases/conformance/jsdoc/declarations/index")
|
||||
>module : { "\"tests/cases/conformance/jsdoc/declarations/index\"": typeof import("tests/cases/conformance/jsdoc/declarations/index"); }
|
||||
>exports : typeof import("tests/cases/conformance/jsdoc/declarations/index")
|
||||
>module.exports : typeof module.exports
|
||||
>module : { exports: typeof module.exports; }
|
||||
>exports : typeof module.exports
|
||||
>i : () => void
|
||||
>function i() {} : () => void
|
||||
>i : () => void
|
||||
@@ -194,36 +194,36 @@ module.exports.i = function i() {}
|
||||
module.exports.ii = module.exports.i;
|
||||
>module.exports.ii = module.exports.i : () => void
|
||||
>module.exports.ii : () => void
|
||||
>module.exports : typeof import("tests/cases/conformance/jsdoc/declarations/index")
|
||||
>module : { "\"tests/cases/conformance/jsdoc/declarations/index\"": typeof import("tests/cases/conformance/jsdoc/declarations/index"); }
|
||||
>exports : typeof import("tests/cases/conformance/jsdoc/declarations/index")
|
||||
>module.exports : typeof module.exports
|
||||
>module : { exports: typeof module.exports; }
|
||||
>exports : typeof module.exports
|
||||
>ii : () => void
|
||||
>module.exports.i : () => void
|
||||
>module.exports : typeof import("tests/cases/conformance/jsdoc/declarations/index")
|
||||
>module : { "\"tests/cases/conformance/jsdoc/declarations/index\"": typeof import("tests/cases/conformance/jsdoc/declarations/index"); }
|
||||
>exports : typeof import("tests/cases/conformance/jsdoc/declarations/index")
|
||||
>module.exports : typeof module.exports
|
||||
>module : { exports: typeof module.exports; }
|
||||
>exports : typeof module.exports
|
||||
>i : () => void
|
||||
|
||||
// note that this last one doesn't make much sense in cjs, since exports aren't hoisted bindings
|
||||
module.exports.jj = module.exports.j;
|
||||
>module.exports.jj = module.exports.j : () => void
|
||||
>module.exports.jj : () => void
|
||||
>module.exports : typeof import("tests/cases/conformance/jsdoc/declarations/index")
|
||||
>module : { "\"tests/cases/conformance/jsdoc/declarations/index\"": typeof import("tests/cases/conformance/jsdoc/declarations/index"); }
|
||||
>exports : typeof import("tests/cases/conformance/jsdoc/declarations/index")
|
||||
>module.exports : typeof module.exports
|
||||
>module : { exports: typeof module.exports; }
|
||||
>exports : typeof module.exports
|
||||
>jj : () => void
|
||||
>module.exports.j : () => void
|
||||
>module.exports : typeof import("tests/cases/conformance/jsdoc/declarations/index")
|
||||
>module : { "\"tests/cases/conformance/jsdoc/declarations/index\"": typeof import("tests/cases/conformance/jsdoc/declarations/index"); }
|
||||
>exports : typeof import("tests/cases/conformance/jsdoc/declarations/index")
|
||||
>module.exports : typeof module.exports
|
||||
>module : { exports: typeof module.exports; }
|
||||
>exports : typeof module.exports
|
||||
>j : () => void
|
||||
|
||||
module.exports.j = function j() {}
|
||||
>module.exports.j = function j() {} : () => void
|
||||
>module.exports.j : () => void
|
||||
>module.exports : typeof import("tests/cases/conformance/jsdoc/declarations/index")
|
||||
>module : { "\"tests/cases/conformance/jsdoc/declarations/index\"": typeof import("tests/cases/conformance/jsdoc/declarations/index"); }
|
||||
>exports : typeof import("tests/cases/conformance/jsdoc/declarations/index")
|
||||
>module.exports : typeof module.exports
|
||||
>module : { exports: typeof module.exports; }
|
||||
>exports : typeof module.exports
|
||||
>j : () => void
|
||||
>function j() {} : () => void
|
||||
>j : () => void
|
||||
|
||||
+2
-2
@@ -39,9 +39,9 @@ function testFn(input) {
|
||||
}
|
||||
|
||||
module.exports = {testFn, testFnTypes};
|
||||
>module.exports : Symbol("tests/cases/conformance/jsdoc/declarations/file2", Decl(file2.js, 0, 0))
|
||||
>module.exports : Symbol(module.exports, Decl(file2.js, 0, 0))
|
||||
>module : Symbol(module, Decl(file2.js, 25, 1))
|
||||
>exports : Symbol("tests/cases/conformance/jsdoc/declarations/file2", Decl(file2.js, 0, 0))
|
||||
>exports : Symbol(module.exports, Decl(file2.js, 0, 0))
|
||||
>testFn : Symbol(testFn, Decl(file2.js, 27, 18))
|
||||
>testFnTypes : Symbol(testFnTypes, Decl(file2.js, 27, 25))
|
||||
|
||||
|
||||
@@ -47,10 +47,10 @@ function testFn(input) {
|
||||
}
|
||||
|
||||
module.exports = {testFn, testFnTypes};
|
||||
>module.exports = {testFn, testFnTypes} : typeof import("tests/cases/conformance/jsdoc/declarations/file2")
|
||||
>module.exports : typeof import("tests/cases/conformance/jsdoc/declarations/file2")
|
||||
>module : { "\"tests/cases/conformance/jsdoc/declarations/file2\"": typeof import("tests/cases/conformance/jsdoc/declarations/file2"); }
|
||||
>exports : typeof import("tests/cases/conformance/jsdoc/declarations/file2")
|
||||
>module.exports = {testFn, testFnTypes} : typeof module.exports
|
||||
>module.exports : typeof module.exports
|
||||
>module : { exports: typeof module.exports; }
|
||||
>exports : typeof module.exports
|
||||
>{testFn, testFnTypes} : { testFn: (input: testFnTypes.input) => number; testFnTypes: { [x: string]: any; }; }
|
||||
>testFn : (input: testFnTypes.input) => number
|
||||
>testFnTypes : { [x: string]: any; }
|
||||
|
||||
@@ -10,7 +10,7 @@ const x = {x: 12};
|
||||
>x : Symbol(x, Decl(mod1.js, 6, 11))
|
||||
|
||||
module.exports = x;
|
||||
>module.exports : Symbol("tests/cases/conformance/jsdoc/declarations/folder/mod1", Decl(mod1.js, 0, 0))
|
||||
>module.exports : Symbol(module.exports, Decl(mod1.js, 0, 0))
|
||||
>module : Symbol(export=, Decl(mod1.js, 6, 18))
|
||||
>exports : Symbol(export=, Decl(mod1.js, 6, 18))
|
||||
>x : Symbol(x, Decl(mod1.js, 6, 5))
|
||||
@@ -22,7 +22,7 @@ const items = [{x: 12}];
|
||||
>x : Symbol(x, Decl(index.js, 1, 16))
|
||||
|
||||
module.exports = items;
|
||||
>module.exports : Symbol("tests/cases/conformance/jsdoc/declarations/index", Decl(index.js, 0, 0))
|
||||
>module.exports : Symbol(module.exports, Decl(index.js, 0, 0))
|
||||
>module : Symbol(export=, Decl(index.js, 1, 24))
|
||||
>exports : Symbol(export=, Decl(index.js, 1, 24))
|
||||
>items : Symbol(items, Decl(index.js, 1, 5))
|
||||
|
||||
@@ -14,7 +14,7 @@ const x = {x: 12};
|
||||
module.exports = x;
|
||||
>module.exports = x : { x: number; }
|
||||
>module.exports : { x: number; }
|
||||
>module : { "\"tests/cases/conformance/jsdoc/declarations/folder/mod1\"": { x: number; }; }
|
||||
>module : { exports: { x: number; }; }
|
||||
>exports : { x: number; }
|
||||
>x : Item
|
||||
|
||||
@@ -30,7 +30,7 @@ const items = [{x: 12}];
|
||||
module.exports = items;
|
||||
>module.exports = items : { [n: number]: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item; length: number; toString(): string; toLocaleString(): string; pop(): import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item; push(...items: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item[]): number; concat(...items: ConcatArray<import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item>[]): import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item[]; concat(...items: (import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item | ConcatArray<import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item>)[]): import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item[]; join(separator?: string): string; reverse(): import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item[]; shift(): import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item; slice(start?: number, end?: number): import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item[]; sort(compareFn?: (a: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item, b: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item) => number): import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item[]; splice(start: number, deleteCount?: number): import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item[]; splice(start: number, deleteCount: number, ...items: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item[]): import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item[]; unshift(...items: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item[]): number; indexOf(searchElement: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item, fromIndex?: number): number; lastIndexOf(searchElement: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item, fromIndex?: number): number; every<S extends import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item>(predicate: (value: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item, index: number, array: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item[]) => value is S, thisArg?: any): this is S[]; every(predicate: (value: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item, index: number, array: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item[]) => unknown, thisArg?: any): boolean; some(predicate: (value: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item, index: number, array: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item[]) => unknown, thisArg?: any): boolean; forEach(callbackfn: (value: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item, index: number, array: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item[]) => void, thisArg?: any): void; map<U>(callbackfn: (value: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item, index: number, array: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item[]) => U, thisArg?: any): U[]; filter<S extends import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item>(predicate: (value: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item, index: number, array: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item[]) => value is S, thisArg?: any): S[]; filter(predicate: (value: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item, index: number, array: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item[]) => unknown, thisArg?: any): import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item[]; reduce(callbackfn: (previousValue: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item, currentValue: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item, currentIndex: number, array: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item[]) => import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item): import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item; reduce(callbackfn: (previousValue: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item, currentValue: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item, currentIndex: number, array: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item[]) => import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item, initialValue: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item): import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item; reduce<U>(callbackfn: (previousValue: U, currentValue: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item, currentIndex: number, array: import("tests/cases/conformance/jsdoc/declarations/folder/mLine truncated
|
||||
>module.exports : { [n: number]: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item; length: number; toString(): string; toLocaleString(): string; pop(): import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item; push(...items: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item[]): number; concat(...items: ConcatArray<import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item>[]): import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item[]; concat(...items: (import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item | ConcatArray<import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item>)[]): import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item[]; join(separator?: string): string; reverse(): import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item[]; shift(): import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item; slice(start?: number, end?: number): import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item[]; sort(compareFn?: (a: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item, b: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item) => number): import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item[]; splice(start: number, deleteCount?: number): import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item[]; splice(start: number, deleteCount: number, ...items: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item[]): import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item[]; unshift(...items: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item[]): number; indexOf(searchElement: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item, fromIndex?: number): number; lastIndexOf(searchElement: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item, fromIndex?: number): number; every<S extends import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item>(predicate: (value: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item, index: number, array: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item[]) => value is S, thisArg?: any): this is S[]; every(predicate: (value: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item, index: number, array: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item[]) => unknown, thisArg?: any): boolean; some(predicate: (value: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item, index: number, array: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item[]) => unknown, thisArg?: any): boolean; forEach(callbackfn: (value: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item, index: number, array: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item[]) => void, thisArg?: any): void; map<U>(callbackfn: (value: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item, index: number, array: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item[]) => U, thisArg?: any): U[]; filter<S extends import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item>(predicate: (value: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item, index: number, array: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item[]) => value is S, thisArg?: any): S[]; filter(predicate: (value: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item, index: number, array: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item[]) => unknown, thisArg?: any): import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item[]; reduce(callbackfn: (previousValue: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item, currentValue: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item, currentIndex: number, array: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item[]) => import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item): import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item; reduce(callbackfn: (previousValue: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item, currentValue: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item, currentIndex: number, array: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item[]) => import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item, initialValue: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item): import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item; reduce<U>(callbackfn: (previousValue: U, currentValue: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item, currentIndex: number, array: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").ItLine truncated
|
||||
>module : { "\"tests/cases/conformance/jsdoc/declarations/index\"": { [n: number]: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item; length: number; toString(): string; toLocaleString(): string; pop(): import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item; push(...items: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item[]): number; concat(...items: ConcatArray<import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item>[]): import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item[]; concat(...items: (import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item | ConcatArray<import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item>)[]): import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item[]; join(separator?: string): string; reverse(): import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item[]; shift(): import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item; slice(start?: number, end?: number): import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item[]; sort(compareFn?: (a: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item, b: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item) => number): import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item[]; splice(start: number, deleteCount?: number): import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item[]; splice(start: number, deleteCount: number, ...items: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item[]): import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item[]; unshift(...items: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item[]): number; indexOf(searchElement: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item, fromIndex?: number): number; lastIndexOf(searchElement: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item, fromIndex?: number): number; every<S extends import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item>(predicate: (value: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item, index: number, array: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item[]) => value is S, thisArg?: any): this is S[]; every(predicate: (value: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item, index: number, array: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item[]) => unknown, thisArg?: any): boolean; some(predicate: (value: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item, index: number, array: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item[]) => unknown, thisArg?: any): boolean; forEach(callbackfn: (value: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item, index: number, array: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item[]) => void, thisArg?: any): void; map<U>(callbackfn: (value: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item, index: number, array: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item[]) => U, thisArg?: any): U[]; filter<S extends import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item>(predicate: (value: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item, index: number, array: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item[]) => value is S, thisArg?: any): S[]; filter(predicate: (value: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item, index: number, array: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item[]) => unknown, thisArg?: any): import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item[]; reduce(callbackfn: (previousValue: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item, currentValue: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item, currentIndex: number, array: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item[]) => import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item): import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item; reduce(callbackfn: (previousValue: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item, currentValue: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item, currentIndex: number, array: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item[]) => import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item, initialValue: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item): import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item; reduce<U>(callbackfn: (previousValue: U, currentValue: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item, currentIndex: number, array: import("tests/casLine truncated
|
||||
>module : { exports: { [n: number]: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item; length: number; toString(): string; toLocaleString(): string; pop(): import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item; push(...items: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item[]): number; concat(...items: ConcatArray<import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item>[]): import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item[]; concat(...items: (import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item | ConcatArray<import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item>)[]): import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item[]; join(separator?: string): string; reverse(): import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item[]; shift(): import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item; slice(start?: number, end?: number): import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item[]; sort(compareFn?: (a: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item, b: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item) => number): import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item[]; splice(start: number, deleteCount?: number): import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item[]; splice(start: number, deleteCount: number, ...items: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item[]): import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item[]; unshift(...items: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item[]): number; indexOf(searchElement: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item, fromIndex?: number): number; lastIndexOf(searchElement: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item, fromIndex?: number): number; every<S extends import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item>(predicate: (value: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item, index: number, array: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item[]) => value is S, thisArg?: any): this is S[]; every(predicate: (value: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item, index: number, array: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item[]) => unknown, thisArg?: any): boolean; some(predicate: (value: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item, index: number, array: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item[]) => unknown, thisArg?: any): boolean; forEach(callbackfn: (value: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item, index: number, array: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item[]) => void, thisArg?: any): void; map<U>(callbackfn: (value: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item, index: number, array: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item[]) => U, thisArg?: any): U[]; filter<S extends import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item>(predicate: (value: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item, index: number, array: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item[]) => value is S, thisArg?: any): S[]; filter(predicate: (value: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item, index: number, array: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item[]) => unknown, thisArg?: any): import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item[]; reduce(callbackfn: (previousValue: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item, currentValue: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item, currentIndex: number, array: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item[]) => import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item): import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item; reduce(callbackfn: (previousValue: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item, currentValue: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item, currentIndex: number, array: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item[]) => import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item, initialValue: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item): import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item; reduce<U>(callbackfn: (previousValue: U, currentValue: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item, currentIndex: number, array: import("tests/cases/conformance/jsdoc/declarations/folder/mod1")Line truncated
|
||||
>exports : { [n: number]: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item; length: number; toString(): string; toLocaleString(): string; pop(): import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item; push(...items: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item[]): number; concat(...items: ConcatArray<import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item>[]): import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item[]; concat(...items: (import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item | ConcatArray<import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item>)[]): import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item[]; join(separator?: string): string; reverse(): import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item[]; shift(): import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item; slice(start?: number, end?: number): import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item[]; sort(compareFn?: (a: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item, b: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item) => number): import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item[]; splice(start: number, deleteCount?: number): import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item[]; splice(start: number, deleteCount: number, ...items: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item[]): import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item[]; unshift(...items: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item[]): number; indexOf(searchElement: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item, fromIndex?: number): number; lastIndexOf(searchElement: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item, fromIndex?: number): number; every<S extends import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item>(predicate: (value: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item, index: number, array: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item[]) => value is S, thisArg?: any): this is S[]; every(predicate: (value: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item, index: number, array: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item[]) => unknown, thisArg?: any): boolean; some(predicate: (value: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item, index: number, array: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item[]) => unknown, thisArg?: any): boolean; forEach(callbackfn: (value: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item, index: number, array: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item[]) => void, thisArg?: any): void; map<U>(callbackfn: (value: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item, index: number, array: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item[]) => U, thisArg?: any): U[]; filter<S extends import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item>(predicate: (value: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item, index: number, array: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item[]) => value is S, thisArg?: any): S[]; filter(predicate: (value: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item, index: number, array: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item[]) => unknown, thisArg?: any): import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item[]; reduce(callbackfn: (previousValue: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item, currentValue: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item, currentIndex: number, array: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item[]) => import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item): import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item; reduce(callbackfn: (previousValue: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item, currentValue: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item, currentIndex: number, array: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item[]) => import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item, initialValue: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item): import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item; reduce<U>(callbackfn: (previousValue: U, currentValue: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item, currentIndex: number, array: import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item[]) =Line truncated
|
||||
>items : import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item[]
|
||||
|
||||
Loaded 100 of 229 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user