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

20 lines
300 B
JavaScript

/** @module foo */
/** Bar class. */
class Bar {
/** Construct a Bar. */
constructor() {
/** bar property */
this.bar = 0;
}
}
/** Baz class. */
export class Baz {
/** Construct a Baz. */
constructor() {
/** baz property */
this.baz = 0;
}
}