error TS2345: Argument of type
'PgTableWithColumns<...>'
is not assignable to parameter of type
'SQL<unknown> | Subquery<string, Record<string, unknown>> |
PgViewBase<string, boolean, ColumnsSelection> |
PgTable<TableConfig>'.
Type 'PgTableWithColumns<...>' is not assignable to type 'PgTable<TableConfig>'.
The types of '_.config.columns' are incompatible between these types.
Type '{ id: PgColumn<...>; title: PgColumn<...>; /* … */ }'
is not assignable to type
'Record<string, PgColumn<ColumnBaseConfig<…, string>, {}, {}>>'.
error TS2345: Argument of type
'PgTableWithColumns<...>'
is not assignable to parameter of type
'SQL<unknown> | Subquery<string, Record<string, unknown>> |
PgViewBase<string, boolean, ColumnsSelection> |
PgTable<TableConfig>'.
Type 'PgTableWithColumns<...>' is not assignable to type 'PgTable<TableConfig>'.
The types of '_.config.columns' are incompatible between these types.
Type '{ id: PgColumn<...>; title: PgColumn<...>; /* … */ }'
is not assignable to type
'Record<string, PgColumn<ColumnBaseConfig<…, string>, {}, {}>>'.