schema types
for some reason in my schema.ts file i have an error
Type 'NotNull<PgSerialBuilderInitial<"id">>' is not assignable to type 'PgColumnBuilder<ColumnBuilderBaseConfig<ColumnDataType, string> & { data: any; }, object, object, ColumnBuilderExtraConfig>'.
The types of 'array(...).array(...)._' are incompatible between these types.ts(2322)
can some one now what causing this error?
1 Reply
they are already working on a patch, should be fixed in the next release
in the meantime you can add
"strictFunctionTypes": false,
to your tsconfig