From 5dcd99320d6e14900b5687fcdc682c675676409b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=A9ter=20Kov=C3=A1cs=20Q?= Date: Mon, 8 Aug 2016 10:41:19 +0200 Subject: [PATCH] [Drop] Change return type of createContext to use typeof --- drop/drop.d.ts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/drop/drop.d.ts b/drop/drop.d.ts index 7794977b08..87ae4425b9 100644 --- a/drop/drop.d.ts +++ b/drop/drop.d.ts @@ -27,7 +27,7 @@ declare class Drop { public once(event: string, handler: Function, context?: any): void; public off(event: string, handler?: Function): void; - public static createContext(options: Drop.IDropContextOptions): Drop.IDropConstructor; + public static createContext(options: Drop.IDropContextOptions): typeof Drop; } declare namespace Drop { @@ -54,10 +54,6 @@ declare namespace Drop { hoverCloseDelay?: number; tetherOptions?: Tether.ITetherOptions; } - - interface IDropConstructor { - new (options: Drop.IDropOptions): Drop; - } } declare module "drop" {