fix: Correctly specify generic inheritance

Bit of my C# sneaking in there...
This commit is contained in:
Benjamin Pannell
2016-02-01 10:01:00 +02:00
parent f3e78999f2
commit 803fd62a10

View File

@@ -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.