From 26ca6ba88154b314276a98d9e535113c2bb0fb29 Mon Sep 17 00:00:00 2001 From: Grzegorz Blaszczyk Date: Fri, 1 Jun 2018 12:59:16 +0200 Subject: [PATCH] Fixes the order of methods in the Component. --- types/video.js/index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/types/video.js/index.d.ts b/types/video.js/index.d.ts index 6fd8d15028..5ba14c022d 100644 --- a/types/video.js/index.d.ts +++ b/types/video.js/index.d.ts @@ -92,11 +92,11 @@ declare namespace videojs { initChildren(): void; localize(key: string, tokens?: string[], defaultValue?: string): string; name(): string; - options(obj: any): any; - player(): Player; off(eventName?: string, callback?: (eventObject: Event) => void): void; on(eventName: string, callback: (eventObject: Event) => void): void; one(eventName: string, callback: (eventObject: Event) => void): void; + options(obj: any): any; + player(): Player; ready(callback: (this: this) => void): this; removeAttribute(attribute: string): void; removeChild(component: Component): void;