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

20 lines
300 B
JavaScript
Raw Normal View History

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