From a2bd22304223ec91d802872abadfed07fe6df7fa Mon Sep 17 00:00:00 2001 From: Andy Date: Mon, 6 Aug 2018 17:36:51 -0700 Subject: [PATCH] velocity-animate: Support HTMLCollection in addition to NodeListOf (#27794) --- types/velocity-animate/index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/types/velocity-animate/index.d.ts b/types/velocity-animate/index.d.ts index f6b696870f..24dc53b4be 100644 --- a/types/velocity-animate/index.d.ts +++ b/types/velocity-animate/index.d.ts @@ -87,8 +87,8 @@ declare namespace jquery.velocity { interface VelocityStatic { Sequences: any; mock: any; - animate(options: {elements: NodeListOf; properties: Properties; options: Options}): any; - animate(elements: HTMLElement|NodeListOf, properties: Properties, options: Options): any; + animate(options: {elements: HTMLCollection | NodeListOf; properties: Properties; options: Options}): any; + animate(elements: HTMLElement | HTMLCollection | NodeListOf, properties: Properties, options: Options): any; RegisterEffect(name: string, options: RegisterEffectOptions): VelocityStatic; RunSequence(sequence: SequenceCall[]): VelocityStatic;