chore: added in the router things:

Co-authored-by: Johan Haals <johan.haals@gmail.com>
Signed-off-by: blam <ben@blam.sh>
This commit is contained in:
blam
2022-07-06 16:41:49 +02:00
committed by Patrik Oldsberg
parent 5da7205bad
commit f6404275c7
3 changed files with 29 additions and 5 deletions
@@ -79,6 +79,6 @@ export function createServiceFactory<
Api,
Impl extends Api,
Deps extends { [name in string]: unknown },
>(factory: ServiceFactory<Api, Impl, Deps>): ServiceFactory<Api, Impl, Deps> {
>(factory: ServiceFactory<Api, Impl, Deps>): ServiceFactory<Api, Api, {}> {
return factory;
}