mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-26 19:04:13 +08:00
fix: Correctly specify generic inheritance
Bit of my C# sneaking in there...
This commit is contained in:
4
ravenjs/ravenjs.d.ts
vendored
4
ravenjs/ravenjs.d.ts
vendored
@@ -113,8 +113,8 @@ interface RavenStatic {
|
||||
*/
|
||||
wrap(func: Function): Function;
|
||||
wrap(options: RavenOptions, func: Function): Function;
|
||||
wrap<T : Function>(func: T): T;
|
||||
wrap<T : Function>(options: RavenOptions, func: T): T;
|
||||
wrap<T extends Function>(func: T): T;
|
||||
wrap<T extends Function>(options: RavenOptions, func: T): T;
|
||||
|
||||
/*
|
||||
* Uninstalls the global error handler.
|
||||
|
||||
Reference in New Issue
Block a user