@es-git/load-as-mixin
Advanced tools
Comparing version 0.0.1 to 0.0.2
@@ -6,2 +6,2 @@ import { Constructor, Hash, Type } from '@es-git/core'; | ||
} | ||
export default function loadAsMixin<T extends Constructor<IObjectRepo>>(repo: T): Constructor<IObjectRepo> & Constructor<ILoadAsRepo>; | ||
export default function loadAsMixin<T extends Constructor<IObjectRepo>>(repo: T): T & Constructor<ILoadAsRepo>; |
{ | ||
"name": "@es-git/load-as-mixin", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "js/index.js", |
@@ -9,3 +9,3 @@ import { Constructor, Hash, Type } from '@es-git/core'; | ||
export default function loadAsMixin<T extends Constructor<IObjectRepo>>(repo : T) | ||
: Constructor<IObjectRepo> & Constructor<ILoadAsRepo> { | ||
: T & Constructor<ILoadAsRepo> { | ||
return class LoadAsRepo extends repo implements ILoadAsRepo { | ||
@@ -12,0 +12,0 @@ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
15759