Skip to content

Commit

Permalink
perf: opt item endbehavior type
Browse files Browse the repository at this point in the history
  • Loading branch information
wumaolinmaoan committed Aug 19, 2024
1 parent 7ade62a commit b3dbd94
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/vfx-item-data.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { DataPath, EffectsObjectData } from './components';
import type { EndBehavior, ParentItemEndBehavior, BaseContent, TransformData } from './item/base-item';
import type { EndBehavior, BaseContent, TransformData } from './item/base-item';
import type { ItemType, RenderLevel } from './type';

export interface VFXItemData extends EffectsObjectData {
Expand Down Expand Up @@ -38,7 +38,7 @@ export interface VFXItemData extends EffectsObjectData {
* 元素结束行为
* @default destroy
*/
endBehavior: EndBehavior | ParentItemEndBehavior,
endBehavior: EndBehavior,
/**
* 元素播放延时(单位秒)
* @default 0
Expand Down

0 comments on commit b3dbd94

Please sign in to comment.