Skip to content

Commit

Permalink
fix: correct setTimeout type (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
geekact committed May 7, 2022
1 parent c9f1354 commit 337a212
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/persist/PersistManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { PersistItem, PersistOptions } from './PersistItem';
export class PersistManager {
protected initialized: boolean = false;
protected readonly list: PersistItem[] = [];
protected timer?: NodeJS.Timeout;
protected timer?: ReturnType<typeof setTimeout>;
protected unsubscrbeStore!: Unsubscribe;

constructor(options: PersistOptions[]) {
Expand Down

0 comments on commit 337a212

Please sign in to comment.