swc/ecmascript/jsdoc/tests/fixtures/anonymousclass.js
2020-08-14 18:20:25 +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() {}
}