diff --git a/components/inferno/index.d.ts b/components/inferno/index.d.ts index f2a07e74542..8bc63ac5b04 100644 --- a/components/inferno/index.d.ts +++ b/components/inferno/index.d.ts @@ -4,7 +4,7 @@ // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped /// -import type { IParticlesProps, ParticlesProps } from "./src/"; +import type { IParticlesProps, IParticlesState, ParticlesProps } from "./src/"; import type { ISourceOptions } from "tsparticles"; import type { Component } from "inferno"; @@ -13,7 +13,7 @@ export type IParticlesParams = IParticlesProps; export * from "tsparticles/dist/Enums"; export type { ISourceOptions, IParticlesProps, ParticlesProps }; -type Particles = Component; +type Particles = Component; declare const Particles: Particles; diff --git a/components/preact/index.d.ts b/components/preact/index.d.ts index 91a52f2387f..27795417442 100644 --- a/components/preact/index.d.ts +++ b/components/preact/index.d.ts @@ -3,7 +3,7 @@ // Definitions by: Matteo Bruni // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped import { PureComponent } from "preact/compat"; -import type { IParticlesProps, ParticlesProps } from "./src/"; +import type { IParticlesProps, IParticlesState, ParticlesProps } from "./src/"; import type { ISourceOptions } from "tsparticles"; export type IParticlesParams = IParticlesProps; @@ -12,7 +12,7 @@ export * from "tsparticles/dist/Enums"; export type { ISourceOptions, IParticlesProps, ParticlesProps }; -type Particles = PureComponent; +type Particles = PureComponent; declare const Particles: Particles; diff --git a/components/react/index.d.ts b/components/react/index.d.ts index fc3039ee8bf..f980852199d 100644 --- a/components/react/index.d.ts +++ b/components/react/index.d.ts @@ -5,7 +5,7 @@ /// import { ComponentClass } from "react"; -import type { IParticlesProps, ParticlesProps } from "./src/"; +import type { IParticlesProps, IParticlesState, ParticlesProps } from "./src/"; import type { ISourceOptions } from "tsparticles"; export type IParticlesParams = IParticlesProps; @@ -14,7 +14,7 @@ export * from "tsparticles/dist/Enums"; export { ISourceOptions, IParticlesProps, ParticlesProps }; -type Particles = ComponentClass; +type Particles = ComponentClass; declare const Particles: Particles;