message: fix(animations): make sure that the animation function delay is applied
  make sure that when an animation is defined via the `animation` function
  (and used via `useAnimation`) and a delay has been provided then that
  delay gets correctly applied
  resolves
  PR Close
diff: @@ -183,11 +183,34 @@ export class AnimationTimelineBuilderVisitor implements AstVisitor {
  visitAnimateRef(ast: AnimateRefAst, context: AnimationTimelineContext): any {
  const innerContext = context.createSubContext(ast.options);
  innerContext.transformIntoNewTimeline();
  + this._applyAnimateRefDelay(ast.animation, context, innerContext);
  this.visitReference(ast.animation, innerContext);
  context.transformIntoNewTimeline(innerContext.currentTimeline.currentTime);
  context.previousNode = ast;
  }
  + private _applyAnimateRefDelay(
  + animation: ReferenceAst, context: AnimationTimelineContext,
  + innerContext: AnimationTimelineContext) {
  + const animationDelay = animation.options?.delay;
  +
  + if (!animationDelay) {
  + return;
  + }
  +
  + let animationDelayValue: number;
  +
  + if (typeof animationDelay === 'string') {
  + const interpolatedDelay =
  + interpolateParams(animationDelay, animation.options?.params ?? {}, context.errors);
  + animationDelayValue = resolveTimingValue(interpolatedDelay);
  + } else {
  + animationDelayValue = animationDelay;
  + }
  +
  + innerContext.delayNextStep(animationDelayValue);
  + }
  +
  private _visitSubInstructions(
  instructions: AnimationTimelineInstruction[], context: AnimationTimelineContext,
  options: AnimateChildOptions): number {
  