-
Notifications
You must be signed in to change notification settings - Fork 40
Open
Description
The zombie web animation tutorial is no longer compiling.
Initial error looks to be because effects now expects a function rather than an array.
There may be further issues.
errors:
/home/simon/Downloads/008_animations-finished/008_animations/finished/zombies/src/widgets/Zombies.ts
[tsl] ERROR in /home/simon/Downloads/008_animations-finished/008_animations/finished/zombies/src/widgets/Zombies.ts(108,20)
TS2322: Type '({ id: string; effects: { opacity: number; marginTop: string; marginLeft: string; }[]; timing: { ...' is not assignable to type 'AnimationProperties[]'.
Type '{ id: string; effects: { opacity: number; marginTop: string; marginLeft: string; }[]; timing: { d...' is not assignable to type 'AnimationProperties'.
Type '{ id: string; effects: { opacity: number; marginTop: string; marginLeft: string; }[]; timing: { d...' is not assignable to type 'AnimationProperties'.
Types of property 'effects' are incompatible.
Type '{ opacity: number; marginTop: string; marginLeft: string; }[]' is not assignable to type '(() => AnimationKeyFrame | AnimationKeyFrame[]) | AnimationKeyFrame | AnimationKeyFrame[]'.
Type '{ opacity: number; marginTop: string; marginLeft: string; }[]' is not assignable to type 'AnimationKeyFrame[]'.
Type '{ opacity: number; marginTop: string; marginLeft: string; }' is not assignable to type 'AnimationKeyFrame'.
Object literal may only specify known properties, and 'marginTop' does not exist in type 'AnimationKeyFrame'.
Metadata
Metadata
Assignees
Labels
No labels