This repository has been archived by the owner. It is now read-only.
Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
@@ -0,0 +1,7 @@ | ||
import {OrmMetadata} from '../orm-metadata'; | ||
|
||
export function type(typeValue) { | ||
return function(target, propertyName) { | ||
OrmMetadata.forTarget(target.constructor).put('types', propertyName, typeValue); | ||
}; | ||
} |