swc/crates/jsdoc/tests/fixtures/anonymousclass.js

20 lines
327 B
JavaScript
Raw Normal View History

2020-08-14 12:20:25 +03:00
/** @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() {}
}