Skip to content

Commit

Permalink
Update custom types docs for requirement of HKT
Browse files Browse the repository at this point in the history
  • Loading branch information
tmcw committed May 4, 2023
1 parent b3a96bc commit 9b504f7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/custom-types.md
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@ export function text<T extends string = string>(

```typescript
export class PgCITextBuilder<TData extends string = string> extends PgColumnBuilder<
PgColumnBuilderHKT,
ColumnBuilderConfig<{ data: TData; driverParam: string }>
> {
protected $pgColumnBuilderBrand: string = 'PgCITextBuilder';
Expand All @@ -190,7 +191,7 @@ export class PgCITextBuilder<TData extends string = string> extends PgColumnBuil
}

export class PgCIText<TTableName extends string, TData extends string>
extends PgColumn<ColumnConfig<{ tableName: TTableName; data: TData; driverParam: string }>>
extends PgColumn<PgColumnHKT, ColumnConfig<{ tableName: TTableName; data: TData; driverParam: string }>>
{


Expand Down

0 comments on commit 9b504f7

Please sign in to comment.