@@ -175,10 +175,10 @@ m2.setonlyAccessor = 0;
175
175
176
176
=== tests/cases/conformance/jsdoc/mod1.js ===
177
177
Object.defineProperty(exports, "thing", { value: 42, writable: true });
178
- >Object.defineProperty(exports, "thing", { value: 42, writable: true }) : any
179
- >Object.defineProperty : (o: any , p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => any
178
+ >Object.defineProperty(exports, "thing", { value: 42, writable: true }) : typeof import("tests/cases/conformance/jsdoc/mod1")
179
+ >Object.defineProperty : <T> (o: T , p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => T
180
180
>Object : ObjectConstructor
181
- >defineProperty : (o: any , p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => any
181
+ >defineProperty : <T> (o: T , p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => T
182
182
>exports : typeof import("tests/cases/conformance/jsdoc/mod1")
183
183
>"thing" : "thing"
184
184
>{ value: 42, writable: true } : { value: number; writable: true; }
@@ -188,10 +188,10 @@ Object.defineProperty(exports, "thing", { value: 42, writable: true });
188
188
>true : true
189
189
190
190
Object.defineProperty(exports, "readonlyProp", { value: "Smith", writable: false });
191
- >Object.defineProperty(exports, "readonlyProp", { value: "Smith", writable: false }) : any
192
- >Object.defineProperty : (o: any , p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => any
191
+ >Object.defineProperty(exports, "readonlyProp", { value: "Smith", writable: false }) : typeof import("tests/cases/conformance/jsdoc/mod1")
192
+ >Object.defineProperty : <T> (o: T , p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => T
193
193
>Object : ObjectConstructor
194
- >defineProperty : (o: any , p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => any
194
+ >defineProperty : <T> (o: T , p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => T
195
195
>exports : typeof import("tests/cases/conformance/jsdoc/mod1")
196
196
>"readonlyProp" : "readonlyProp"
197
197
>{ value: "Smith", writable: false } : { value: string; writable: false; }
@@ -201,10 +201,10 @@ Object.defineProperty(exports, "readonlyProp", { value: "Smith", writable: false
201
201
>false : false
202
202
203
203
Object.defineProperty(exports, "rwAccessors", { get() { return 98122 }, set(_) { /*ignore*/ } });
204
- >Object.defineProperty(exports, "rwAccessors", { get() { return 98122 }, set(_) { /*ignore*/ } }) : any
205
- >Object.defineProperty : (o: any , p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => any
204
+ >Object.defineProperty(exports, "rwAccessors", { get() { return 98122 }, set(_) { /*ignore*/ } }) : typeof import("tests/cases/conformance/jsdoc/mod1")
205
+ >Object.defineProperty : <T> (o: T , p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => T
206
206
>Object : ObjectConstructor
207
- >defineProperty : (o: any , p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => any
207
+ >defineProperty : <T> (o: T , p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => T
208
208
>exports : typeof import("tests/cases/conformance/jsdoc/mod1")
209
209
>"rwAccessors" : "rwAccessors"
210
210
>{ get() { return 98122 }, set(_) { /*ignore*/ } } : { get(): number; set(_: any): void; }
@@ -214,21 +214,21 @@ Object.defineProperty(exports, "rwAccessors", { get() { return 98122 }, set(_) {
214
214
>_ : any
215
215
216
216
Object.defineProperty(exports, "readonlyAccessor", { get() { return 21.75 } });
217
- >Object.defineProperty(exports, "readonlyAccessor", { get() { return 21.75 } }) : any
218
- >Object.defineProperty : (o: any , p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => any
217
+ >Object.defineProperty(exports, "readonlyAccessor", { get() { return 21.75 } }) : typeof import("tests/cases/conformance/jsdoc/mod1")
218
+ >Object.defineProperty : <T> (o: T , p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => T
219
219
>Object : ObjectConstructor
220
- >defineProperty : (o: any , p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => any
220
+ >defineProperty : <T> (o: T , p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => T
221
221
>exports : typeof import("tests/cases/conformance/jsdoc/mod1")
222
222
>"readonlyAccessor" : "readonlyAccessor"
223
223
>{ get() { return 21.75 } } : { get(): number; }
224
224
>get : () => number
225
225
>21.75 : 21.75
226
226
227
227
Object.defineProperty(exports, "setonlyAccessor", {
228
- >Object.defineProperty(exports, "setonlyAccessor", { /** @param {string} str */ set(str) { this.rwAccessors = Number(str) }}) : any
229
- >Object.defineProperty : (o: any , p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => any
228
+ >Object.defineProperty(exports, "setonlyAccessor", { /** @param {string} str */ set(str) { this.rwAccessors = Number(str) }}) : typeof import("tests/cases/conformance/jsdoc/mod1")
229
+ >Object.defineProperty : <T> (o: T , p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => T
230
230
>Object : ObjectConstructor
231
- >defineProperty : (o: any , p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => any
231
+ >defineProperty : <T> (o: T , p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => T
232
232
>exports : typeof import("tests/cases/conformance/jsdoc/mod1")
233
233
>"setonlyAccessor" : "setonlyAccessor"
234
234
>{ /** @param {string} str */ set(str) { this.rwAccessors = Number(str) }} : { set(str: string): void; }
@@ -251,10 +251,10 @@ Object.defineProperty(exports, "setonlyAccessor", {
251
251
252
252
=== tests/cases/conformance/jsdoc/mod2.js ===
253
253
Object.defineProperty(module.exports, "thing", { value: "yes", writable: true });
254
- >Object.defineProperty(module.exports, "thing", { value: "yes", writable: true }) : any
255
- >Object.defineProperty : (o: any , p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => any
254
+ >Object.defineProperty(module.exports, "thing", { value: "yes", writable: true }) : typeof import("tests/cases/conformance/jsdoc/mod2")
255
+ >Object.defineProperty : <T> (o: T , p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => T
256
256
>Object : ObjectConstructor
257
- >defineProperty : (o: any , p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => any
257
+ >defineProperty : <T> (o: T , p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => T
258
258
>module.exports : typeof import("tests/cases/conformance/jsdoc/mod2")
259
259
>module : { "\"tests/cases/conformance/jsdoc/mod2\"": typeof import("tests/cases/conformance/jsdoc/mod2"); }
260
260
>exports : typeof import("tests/cases/conformance/jsdoc/mod2")
@@ -266,10 +266,10 @@ Object.defineProperty(module.exports, "thing", { value: "yes", writable: true })
266
266
>true : true
267
267
268
268
Object.defineProperty(module.exports, "readonlyProp", { value: "Smith", writable: false });
269
- >Object.defineProperty(module.exports, "readonlyProp", { value: "Smith", writable: false }) : any
270
- >Object.defineProperty : (o: any , p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => any
269
+ >Object.defineProperty(module.exports, "readonlyProp", { value: "Smith", writable: false }) : typeof import("tests/cases/conformance/jsdoc/mod2")
270
+ >Object.defineProperty : <T> (o: T , p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => T
271
271
>Object : ObjectConstructor
272
- >defineProperty : (o: any , p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => any
272
+ >defineProperty : <T> (o: T , p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => T
273
273
>module.exports : typeof import("tests/cases/conformance/jsdoc/mod2")
274
274
>module : { "\"tests/cases/conformance/jsdoc/mod2\"": typeof import("tests/cases/conformance/jsdoc/mod2"); }
275
275
>exports : typeof import("tests/cases/conformance/jsdoc/mod2")
@@ -281,10 +281,10 @@ Object.defineProperty(module.exports, "readonlyProp", { value: "Smith", writable
281
281
>false : false
282
282
283
283
Object.defineProperty(module.exports, "rwAccessors", { get() { return 98122 }, set(_) { /*ignore*/ } });
284
- >Object.defineProperty(module.exports, "rwAccessors", { get() { return 98122 }, set(_) { /*ignore*/ } }) : any
285
- >Object.defineProperty : (o: any , p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => any
284
+ >Object.defineProperty(module.exports, "rwAccessors", { get() { return 98122 }, set(_) { /*ignore*/ } }) : typeof import("tests/cases/conformance/jsdoc/mod2")
285
+ >Object.defineProperty : <T> (o: T , p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => T
286
286
>Object : ObjectConstructor
287
- >defineProperty : (o: any , p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => any
287
+ >defineProperty : <T> (o: T , p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => T
288
288
>module.exports : typeof import("tests/cases/conformance/jsdoc/mod2")
289
289
>module : { "\"tests/cases/conformance/jsdoc/mod2\"": typeof import("tests/cases/conformance/jsdoc/mod2"); }
290
290
>exports : typeof import("tests/cases/conformance/jsdoc/mod2")
@@ -296,10 +296,10 @@ Object.defineProperty(module.exports, "rwAccessors", { get() { return 98122 }, s
296
296
>_ : any
297
297
298
298
Object.defineProperty(module.exports, "readonlyAccessor", { get() { return 21.75 } });
299
- >Object.defineProperty(module.exports, "readonlyAccessor", { get() { return 21.75 } }) : any
300
- >Object.defineProperty : (o: any , p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => any
299
+ >Object.defineProperty(module.exports, "readonlyAccessor", { get() { return 21.75 } }) : typeof import("tests/cases/conformance/jsdoc/mod2")
300
+ >Object.defineProperty : <T> (o: T , p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => T
301
301
>Object : ObjectConstructor
302
- >defineProperty : (o: any , p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => any
302
+ >defineProperty : <T> (o: T , p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => T
303
303
>module.exports : typeof import("tests/cases/conformance/jsdoc/mod2")
304
304
>module : { "\"tests/cases/conformance/jsdoc/mod2\"": typeof import("tests/cases/conformance/jsdoc/mod2"); }
305
305
>exports : typeof import("tests/cases/conformance/jsdoc/mod2")
@@ -309,10 +309,10 @@ Object.defineProperty(module.exports, "readonlyAccessor", { get() { return 21.75
309
309
>21.75 : 21.75
310
310
311
311
Object.defineProperty(module.exports, "setonlyAccessor", {
312
- >Object.defineProperty(module.exports, "setonlyAccessor", { /** @param {string} str */ set(str) { this.rwAccessors = Number(str) }}) : any
313
- >Object.defineProperty : (o: any , p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => any
312
+ >Object.defineProperty(module.exports, "setonlyAccessor", { /** @param {string} str */ set(str) { this.rwAccessors = Number(str) }}) : typeof import("tests/cases/conformance/jsdoc/mod2")
313
+ >Object.defineProperty : <T> (o: T , p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => T
314
314
>Object : ObjectConstructor
315
- >defineProperty : (o: any , p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => any
315
+ >defineProperty : <T> (o: T , p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => T
316
316
>module.exports : typeof import("tests/cases/conformance/jsdoc/mod2")
317
317
>module : { "\"tests/cases/conformance/jsdoc/mod2\"": typeof import("tests/cases/conformance/jsdoc/mod2"); }
318
318
>exports : typeof import("tests/cases/conformance/jsdoc/mod2")
0 commit comments