We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 845dac1 commit ba666ffCopy full SHA for ba666ff
drizzle-seed/src/generators/Generators.ts
@@ -116,7 +116,7 @@ export abstract class AbstractGenerator<T = {}> {
116
}
117
118
replaceIfArray() {
119
- this.updateParams();
+ this.updateProperties();
120
if (!(this.getEntityKind() === 'GenerateArray') && this.arraySize !== undefined) {
121
const uniqueGen = this.replaceIfUnique();
122
const baseColumnGen = uniqueGen === undefined ? this : uniqueGen;
@@ -134,7 +134,7 @@ export abstract class AbstractGenerator<T = {}> {
134
);
135
arrayGen.typeParams = { dimensions };
136
137
- return arrayGen;
+ return arrayGen as AbstractGenerator<any>;
138
139
140
return;
0 commit comments