Skip to content

Commit ac91270

Browse files
committed
rename missing reload fn
1 parent d7bff64 commit ac91270

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

plugins/store/api-iife.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

plugins/store/guest-js/index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -179,8 +179,8 @@ export class LazyStore implements IStore {
179179
return (await this.store).length()
180180
}
181181

182-
async load(): Promise<void> {
183-
await (await this.store).load()
182+
async reload(): Promise<void> {
183+
await (await this.store).reload()
184184
}
185185

186186
async save(): Promise<void> {
@@ -474,7 +474,7 @@ interface IStore {
474474
* Note: This method does not emit change events.
475475
* @returns
476476
*/
477-
load(): Promise<void>
477+
reload(): Promise<void>
478478

479479
/**
480480
* Saves the store to disk at the store's `path`.

0 commit comments

Comments
 (0)