Skip to content

Commit 0b4ec18

Browse files
committed
Shape系AssetをJSではなく、TSでバンドル
1 parent 4aa8966 commit 0b4ec18

File tree

8 files changed

+766
-437
lines changed

8 files changed

+766
-437
lines changed

libs/d.ts/asset-shapes.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
declare var Assets: {};
2+
export { Assets };

libs/d.ts/particlejs.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { assets } from "./asset-shapes.js";
1+
import { Assets } from "./asset-shapes";
22
import { ShapeGenerator } from "./assets/shape-generator";
33
import { ColorData } from "./data/data-color";
44
import { DrawingData } from "./data/data-drawing";
@@ -7,4 +7,4 @@ import { AlphaCurveType } from "./enum/alpha-curve-type";
77
import { ShapeType } from "./enum/shape-type";
88
import { Particle } from "./particle/particle";
99
import { ParticleSystem, VERSION } from "./particle/particle-system";
10-
export { ParticleSystem, Particle, VERSION, DrawingData, ColorData, ShapeData, ShapeGenerator, AlphaCurveType, ShapeType, assets };
10+
export { ParticleSystem, Particle, VERSION, DrawingData, ColorData, ShapeData, ShapeGenerator, AlphaCurveType, ShapeType, Assets };

0 commit comments

Comments
 (0)