swc/crates/jsdoc/tests/fixtures/anonymousclass.js
2021-11-10 16:39:01 +09:00

20 lines
327 B
JavaScript

/** @module test */
/** Test class */
export default class {
/**
* Test constructor
* @param {string} foo - The foo parameter
*/
constructor(foo) {
/** Test member */
this.foo = foo;
}
/** Test method */
test() {}
/** Test static method */
static staticTest() {}
}