Skip to content

Commit

Permalink
Fixed remaining default exports (#757)
Browse files Browse the repository at this point in the history
  • Loading branch information
CatChen authored Nov 26, 2024
1 parent f11d2cb commit f44da55
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 7 deletions.
3 changes: 0 additions & 3 deletions deno.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@
"compilerOptions": {
"lib": ["deno.window"]
},
"lint": {
"exclude": ["flow-typed/"]
},
"fmt": {
"singleQuote": true,
"include": ["src/"]
Expand Down
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export { default } from './lib/Storage';
export * from './lib/Storage';
4 changes: 1 addition & 3 deletions index.js.flow
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
declare class Storage<T> {
declare export class Storage<T> {
name: string;
version: number;

Expand All @@ -7,5 +7,3 @@ declare class Storage<T> {
write(value: T): void;
static reset(): void;
}

export default Storage;

0 comments on commit f44da55

Please sign in to comment.