mirror of
https://github.com/misskey-dev/misskey
synced 2024-12-04 17:58:47 +09:00
doc
This commit is contained in:
parent
6a7ed7e0d1
commit
c77d897880
@ -183,6 +183,14 @@ export class Storage<T extends StateDef> {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Sets the configuration options for Pizzax.
|
||||||
|
*
|
||||||
|
* 特にinitを待ったりとかはしないので、boot.jsなど、ロード初期段階で呼ぶ必要がある
|
||||||
|
*
|
||||||
|
* @param config - The partial configuration object.
|
||||||
|
*/
|
||||||
public setConfig(config: Partial<PizzaxConfig>) {
|
public setConfig(config: Partial<PizzaxConfig>) {
|
||||||
this.options = Object.assign(this.options, config);
|
this.options = Object.assign(this.options, config);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user