aboutsummaryrefslogtreecommitdiff
path: root/timeline.ts
diff options
context:
space:
mode:
Diffstat (limited to 'timeline.ts')
-rw-r--r--timeline.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/timeline.ts b/timeline.ts
index 8bb4d98..696d7af 100644
--- a/timeline.ts
+++ b/timeline.ts
@@ -19,8 +19,10 @@ export interface loopSlide extends slide {
playbackType: 'PingPong' | 'Normal';
}
+type anySlide = slide | delaySlide | speedChangeSlide | loopSlide;
+
export default interface timeline {
- slides: Array<slide | delaySlide | speedChangeSlide | loopSlide>;
+ slides: Array<anySlide>;
framecount: number;
framerate: number;
}