Skip to content

Commit 61fe7e3

Browse files
author
Vlad Balin
committed
Fixed bugs in localStorageIO
1 parent c54a8f8 commit 61fe7e3

File tree

11 files changed

+542
-236
lines changed

11 files changed

+542
-236
lines changed

endpoints/localStorage/index.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.

endpoints/localStorage/index.js.map

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

lib/endpoints/localStorage.d.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
import { IOEndpoint, IOPromise } from '../io-tools';
22
export declare type Index = number[];
3-
export declare function create(key: string, delay?: number): LocalStorageEndpoint;
3+
export declare function create(key: string): LocalStorageEndpoint;
44
export { create as localStorageIO };
55
export declare class LocalStorageEndpoint implements IOEndpoint {
66
key: string;
7-
delay: number;
8-
constructor(key: string, delay: number);
7+
constructor(key: string);
98
resolve(value: any): IOPromise<any>;
109
reject(value: any): IOPromise<any>;
1110
create(json: any, options: any): IOPromise<any>;

0 commit comments

Comments
 (0)