Skip to content

Commit

Permalink
Merge pull request #8 from capitec/feature/fix-stores-export
Browse files Browse the repository at this point in the history
Correctly export stores as instances instead of types
  • Loading branch information
stefan505 committed Nov 3, 2023
2 parents cf2e856 + 7f7ebd1 commit b836123
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@capitec/omni-state",
"version": "0.1.2",
"version": "0.1.3",
"description": "Simple web app state and storage management",
"author": "Capitec",
"license": "MIT",
Expand Down
4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
export { stateExperimental } from './decorators/stateExperimental.js';

// Stores
export type { LocalStorage } from './stores/LocalStorage.js';
export type { SessionStorage } from './stores/SessionStorage.js';
export { LocalStorage } from './stores/LocalStorage.js';
export { SessionStorage } from './stores/SessionStorage.js';

// Types
export type { AsyncStorage } from './types/AsyncStorage.js';
Expand Down

0 comments on commit b836123

Please sign in to comment.