diff --git a/packages/frontend/src/pizzax.ts b/packages/frontend/src/pizzax.ts index f7d23b202a..096886d06c 100644 --- a/packages/frontend/src/pizzax.ts +++ b/packages/frontend/src/pizzax.ts @@ -183,6 +183,14 @@ export class Storage { }); } + + /** + * Sets the configuration options for Pizzax. + * + * 特にinitを待ったりとかはしないので、boot.jsなど、ロード初期段階で呼ぶ必要がある + * + * @param config - The partial configuration object. + */ public setConfig(config: Partial) { this.options = Object.assign(this.options, config); }