diff --git a/packages/support/src/mixins/mixins/PrepareMixin.ts b/packages/support/src/mixins/mixins/PrepareMixin.ts index 7214d856..c32b2182 100644 --- a/packages/support/src/mixins/mixins/PrepareMixin.ts +++ b/packages/support/src/mixins/mixins/PrepareMixin.ts @@ -1,6 +1,7 @@ import type { Mixin } from "@aedart/contracts/support/mixins"; import { Bare } from "./Bare"; import { Cached } from "./Cached"; +import { HasInstance } from "./HasInstance"; import { DeDupe } from "./DeDupe"; /** @@ -15,5 +16,5 @@ export const PrepareMixin = function(mixin: Mixin): Mixin // The following source code is an adaptation of Justin Fagnani's "mixwith.js" (Apache License 2.0) // @see https://github.com/justinfagnani/mixwith.js - return DeDupe(Cached(Bare(mixin))); + return DeDupe(Cached(HasInstance(Bare(mixin)))); } \ No newline at end of file