diff --git a/deno.json b/deno.json index 0e2994f..1c2ada0 100644 --- a/deno.json +++ b/deno.json @@ -6,9 +6,6 @@ "compilerOptions": { "lib": ["deno.window"] }, - "lint": { - "exclude": ["flow-typed/"] - }, "fmt": { "singleQuote": true, "include": ["src/"] diff --git a/index.d.ts b/index.d.ts index 93349bc..98da8ef 100644 --- a/index.d.ts +++ b/index.d.ts @@ -1 +1 @@ -export { default } from './lib/Storage'; +export * from './lib/Storage'; diff --git a/index.js.flow b/index.js.flow index 7eb0ee8..04e5b16 100644 --- a/index.js.flow +++ b/index.js.flow @@ -1,4 +1,4 @@ -declare class Storage { +declare export class Storage { name: string; version: number; @@ -7,5 +7,3 @@ declare class Storage { write(value: T): void; static reset(): void; } - -export default Storage;