Skip to content

Commit

Permalink
fix to include it seamlessly into typescript code. Now WebStorm autoi…
Browse files Browse the repository at this point in the history
…mport works as expected
  • Loading branch information
konsultaner committed Jan 11, 2019
1 parent 0a406c3 commit 75449fd
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions dist/secure-ls.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
export interface SecureLS {
new(config?: { isCompression: boolean, encodingType: string, encryptionSecret: string , encryptionNamespace: string }): SecureLS;
export = SecureLS;

declare class SecureLS {
constructor(config?: { isCompression?: boolean, encodingType?: string, encryptionSecret?: string , encryptionNamespace?: string });
getEncryptionSecret(): string;
get(key: string, isAllKeysData?: boolean): any;
getDataFromLocalStorage(key: string): string | null;
Expand All @@ -14,3 +16,5 @@ export interface SecureLS {
setMetaData(): void;
getMetaData(): { keys: string[] };
}

declare namespace SecureLS{}

0 comments on commit 75449fd

Please sign in to comment.