Comparing version 0.5.0 to 0.5.1
@@ -42,3 +42,3 @@ /// <reference types="chai" /> | ||
*/ | ||
static getConstructor(target: Function | Object): Function; | ||
static getConstructor(target: ProxyInterface): Function; | ||
} |
{ | ||
"name": "wetland", | ||
"version": "0.5.0", | ||
"version": "0.5.1", | ||
"description": "An enterprise grade ORM for Node.js.", | ||
@@ -5,0 +5,0 @@ "main": "./build/src/index.js", |
import {Homefront} from 'homefront'; | ||
import {ProxyInterface} from './EntityInterface'; | ||
import {ProxyInterface, EntityInterface, EntityCtor} from './EntityInterface'; | ||
@@ -60,5 +60,5 @@ export class MetaData { | ||
*/ | ||
public static getConstructor(target: Function | Object): Function { | ||
public static getConstructor(target: ProxyInterface): Function { | ||
return (typeof target === 'function' ? target : target.constructor) as Function; | ||
} | ||
} |
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
464423