mirror of
https://github.com/swc-project/swc.git
synced 2024-12-18 03:01:48 +03:00
26 lines
431 B
JavaScript
26 lines
431 B
JavaScript
/**
|
|
* Describe the module here.
|
|
* @module mymodule/config
|
|
*/
|
|
|
|
/** Describe the class here. */
|
|
export default class Config {
|
|
/**
|
|
* Create a new configuration.
|
|
* @param {string} id
|
|
*/
|
|
constructor(id) {
|
|
/** Document me. */
|
|
this.id = id;
|
|
}
|
|
|
|
/**
|
|
* Get the configuration ID.
|
|
*
|
|
* @return {string} The configuration ID.
|
|
*/
|
|
getId() {
|
|
return this.id;
|
|
}
|
|
}
|