Skip to content

Commit

Permalink
fix: fix types (#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
daybrush committed Feb 9, 2022
1 parent bd4070f commit b2ff524
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,15 @@ declare module "@egjs/persist" {
/**
* Remove value
*/
public remove(path: string): this;
public remove(path: string): this;
}

export declare class PersistQuotaExceededError extends Error {
export class PersistQuotaExceededError extends Error {
public name: string;
public storageType: "SessionStorage" | "LocalStorage" | "History" | "None";
public key: string;
public size: number;
}
export declare function updateDepth(type?: number): void;
export function updateDepth(type?: number): void;
export default Persist;
}

0 comments on commit b2ff524

Please sign in to comment.