Skip to content

Commit

Permalink
feat: export Item and Metadata interfaces (#91)
Browse files Browse the repository at this point in the history
  • Loading branch information
lxbdr authored Nov 3, 2021
1 parent 17be47a commit 6ba6c44
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import * as React from "react";

import useLocalStorage from "./useLocalStorage";

interface Item {
export interface Item {
id: string;
price: number;
quantity?: number;
Expand All @@ -20,7 +20,7 @@ interface InitialState {
metadata?: Metadata;
}

interface Metadata {
export interface Metadata {
[key: string]: any;
}

Expand Down

0 comments on commit 6ba6c44

Please sign in to comment.