1
0
Fork 0
mirror of https://github.com/paricafe/misskey.git synced 2025-03-29 20:29:28 -05:00

return reset value

This commit is contained in:
tamaina 2022-01-04 15:39:19 +09:00
parent cb6d38713f
commit 5bf637b978

View file

@ -177,6 +177,7 @@ export class Storage<T extends StateDef> {
public reset(key: keyof T) {
this.set(key, this.def[key].default);
return this.def[key].default;
}
/**