Skip to content

Commit ba666ff

Browse files
committed
drizzle-seed fix
1 parent 845dac1 commit ba666ff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drizzle-seed/src/generators/Generators.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ export abstract class AbstractGenerator<T = {}> {
116116
}
117117

118118
replaceIfArray() {
119-
this.updateParams();
119+
this.updateProperties();
120120
if (!(this.getEntityKind() === 'GenerateArray') && this.arraySize !== undefined) {
121121
const uniqueGen = this.replaceIfUnique();
122122
const baseColumnGen = uniqueGen === undefined ? this : uniqueGen;
@@ -134,7 +134,7 @@ export abstract class AbstractGenerator<T = {}> {
134134
);
135135
arrayGen.typeParams = { dimensions };
136136

137-
return arrayGen;
137+
return arrayGen as AbstractGenerator<any>;
138138
}
139139

140140
return;

0 commit comments

Comments
 (0)