Skip to content

Commit

Permalink
fix: ensure cache works with the new types.
Browse files Browse the repository at this point in the history
  • Loading branch information
LinusBorg committed Nov 5, 2022
1 parent fc46a59 commit babada7
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/cache.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
import type { Mixin, Composable } from './types'
import type { createComposableFromMixin } from './createComposable'
import type { defineMixin } from './defineMixin'

export const cache = new Map<Mixin, Composable>()
export const cache = new Map<
typeof createComposableFromMixin,
typeof defineMixin
>()

0 comments on commit babada7

Please sign in to comment.