Skip to content

Commit 951b5f1

Browse files
committed
Add channel condition types
1 parent baeff90 commit 951b5f1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

types/custom/animation.d.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,14 +162,15 @@ interface AddChannelOptions {
162162
transform?: boolean
163163
mutable?: boolean
164164
max_data_points?: number
165-
condition?: ConditionResolvable
165+
condition?: ConditionResolvable<GeneralAnimator>
166166
displayFrame?: (animator: GeneralAnimator, multiplier: number) => void
167167
}
168168
interface Channel {
169169
name: string
170170
transform: boolean
171171
mutable: boolean
172172
max_data_points: number
173+
condition?: ConditionResolvable<GeneralAnimator>
173174
}
174175
declare class GeneralAnimator {
175176
constructor(uuid: string | null, animation: _Animation, name: string)

0 commit comments

Comments
 (0)