Skip to content

Commit

Permalink
feat: added store.use
Browse files Browse the repository at this point in the history
  • Loading branch information
sghsri committed Mar 17, 2024
1 parent 4c20698 commit dcfe6d6
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/storage/createStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -309,13 +309,3 @@ export function createManagedStore<T>(defaults: StoreDefaults<T>, options?: Stor
export function createSessionStore<T>(defaults: StoreDefaults<T>, options?: StoreOptions): Store<T> {
return createStore(defaults, 'session', options);
}

interface ITest {
test: string;
hello: number;
}

const store = createLocalStore<ITest>({
test: 'tes',
hello: 5,
});

0 comments on commit dcfe6d6

Please sign in to comment.