Commit a3825e0f authored by nanahira's avatar nanahira

Revert "remove type on ModelField"

This reverts commit fb26e64f.
parent d4a547ca
......@@ -8,7 +8,7 @@ export class ModelDecorators<Tables = any> {
Metadata.set('ModelTableName', name);
ModelField =
(def?: ModelFieldDef): PropertyDecorator =>
<T = any>(def?: ModelFieldDef<T>): PropertyDecorator =>
(obj, key) =>
Metadata.set(
'ModelField',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment