Skip to content

Commit 34adfab

Browse files
closes #179
1 parent 8973931 commit 34adfab

5 files changed

Lines changed: 1524 additions & 208 deletions

File tree

lib/annotations/Column.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ function annotate(target: any,
4040
};
4141
} else {
4242

43-
options = Object.assign({}, optionsOrDataType);
43+
options = Object.assign({}, optionsOrDataType as IPartialDefineAttributeColumnOptions);
4444

4545
if (!options.type) {
4646
options.type = getSequelizeTypeByDesignType(target, propertyName);

0 commit comments

Comments
 (0)