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> { ...@@ -8,7 +8,7 @@ export class ModelDecorators<Tables = any> {
Metadata.set('ModelTableName', name); Metadata.set('ModelTableName', name);
ModelField = ModelField =
(def?: ModelFieldDef): PropertyDecorator => <T = any>(def?: ModelFieldDef<T>): PropertyDecorator =>
(obj, key) => (obj, key) =>
Metadata.set( Metadata.set(
'ModelField', '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