FarmMapsLib/projects/common-map/src/lib/components/for-item/for-sourcetask.decorator.ts
Willem Dantuma 8aafeccea6
Some checks failed
FarmMaps.Develop/FarmMapsLib/develop There was a failure building this commit
Add common-map library
2019-10-28 14:18:25 +01:00

6 lines
156 B
TypeScript

export function ForSourceTask(sourceTask: string) {
return function (constructor:Function) {
constructor.prototype.forSourceTask = sourceTask;
};
}