You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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'.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: