Skip to content

Commit

Permalink
Fix generic inferring on ServiceHost.get()
Browse files Browse the repository at this point in the history
  • Loading branch information
haroldiedema committed Apr 13, 2021
1 parent 7c78119 commit 130425e
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion dist/ServiceHost.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ declare class ServiceHostImpl {
* @param {Function} constructor
* @returns {T}
*/
get<T>(constructor: Function): T;
get<T>(constructor: new (...args: any[]) => T): T;
}
export declare const ServiceHost: ServiceHostImpl;
export {};
Loading

0 comments on commit 130425e

Please sign in to comment.