diff --git a/src/features/particles/particles.tsx b/src/features/particles/particles.tsx index fd9734e..1e2208a 100644 --- a/src/features/particles/particles.tsx +++ b/src/features/particles/particles.tsx @@ -1,6 +1,6 @@ import type { EmitterConfigV3 } from "@pixi/particle-emitter"; import { Emitter, upgradeConfig } from "@pixi/particle-emitter"; -import type { OptionsFunc, Replace, StyleValue } from "features/feature"; +import type { GenericComponent, OptionsFunc, Replace, StyleValue } from "features/feature"; import { Component, GatherProps, getUniqueID } from "features/feature"; import ParticlesComponent from "features/particles/Particles.vue"; import { Application } from "@pixi/app"; @@ -22,7 +22,7 @@ export interface BaseParticles { app: Ref; addEmitter: (config: EmitterConfigV3) => Promise; type: typeof ParticlesType; - [Component]: typeof ParticlesComponent; + [Component]: GenericComponent; [GatherProps]: () => Record; }