mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-06 15:57:13 +00:00
[Drop] Change return type of createContext to use typeof
This commit is contained in:
Vendored
+1
-5
@@ -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" {
|
||||
|
||||
Reference in New Issue
Block a user