Commit fb26e64f authored by nanahira's avatar nanahira

remove type on ModelField

parent 88237087
...@@ -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 =
<T = any>(def?: ModelFieldDef<T>): PropertyDecorator => (def?: ModelFieldDef): 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