Skip to content

Commit

Permalink
Fixed typings
Browse files Browse the repository at this point in the history
  • Loading branch information
wufe committed Jul 21, 2020
1 parent 41b9228 commit d9decd6
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions index.d.ts
Expand Up @@ -6,9 +6,13 @@
/// <reference types="react" />
import { ComponentClass } from "react";
import { Container } from "tsparticles/dist/Core/Container";
import { IParticlesParams } from "./src/Particles";
import { RecursivePartial } from "tsparticles/dist/Types/RecursivePartial";
import { IOptions } from "tsparticles/dist/Options/Interfaces/IOptions";
import { IPolygonMaskOptions } from "tsparticles/dist/Plugins/PolygonMask/PolygonMaskPlugin";
import { IAbsorberOptions } from "tsparticles/dist/Plugins/Absorbers/AbsorbersPlugin";
import { IEmitterOptions } from "tsparticles/dist/Plugins/Emitters/EmittersPlugin";

export { IParticlesParams };
export type IParticlesParams = RecursivePartial<IOptions & IPolygonMaskOptions & IAbsorberOptions & IEmitterOptions>;

export * from 'tsparticles/dist/Enums';

Expand Down

0 comments on commit d9decd6

Please sign in to comment.