Skip to content

Commit

Permalink
add override tag to build
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchwadair committed Jul 23, 2024
1 parent ce7c09e commit 783fc76
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions drizzle-orm/src/singlestore-core/columns/guid.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export class SingleStoreGUIDBuilder<T extends ColumnBuilderBaseConfig<"buffer",
}

/** @internal */
build<TTableName extends string>(table: AnySingleStoreTable<{name: TTableName}>): SingleStoreGUID<MakeColumnConfig<T, TTableName>> {
override build<TTableName extends string>(table: AnySingleStoreTable<{name: TTableName}>): SingleStoreGUID<MakeColumnConfig<T, TTableName>> {
return new SingleStoreGUID(table, this.config as ColumnBuilderRuntimeConfig<any, any>);
}
}
Expand Down Expand Up @@ -64,7 +64,7 @@ export class SingleStoreGUIDStringBuilder<T extends ColumnBuilderBaseConfig<"str
}

/** @internal */
build<TTableName extends string>(table: AnySingleStoreTable<{name: TTableName}>): SingleStoreGUIDString<MakeColumnConfig<T, TTableName>> {
override build<TTableName extends string>(table: AnySingleStoreTable<{name: TTableName}>): SingleStoreGUIDString<MakeColumnConfig<T, TTableName>> {
return new SingleStoreGUIDString(table, this.config as ColumnBuilderRuntimeConfig<any, any>);
}
}
Expand Down
2 changes: 1 addition & 1 deletion drizzle-orm/src/singlestore-core/columns/uuid.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export class SingleStoreUUIDBuilder<T extends ColumnBuilderBaseConfig<"string",
}

/** @internal */
build<TTableName extends string>(table: AnySingleStoreTable<{name: TTableName}>): SingleStoreUUID<MakeColumnConfig<T, TTableName>> {
override build<TTableName extends string>(table: AnySingleStoreTable<{name: TTableName}>): SingleStoreUUID<MakeColumnConfig<T, TTableName>> {
return new SingleStoreUUID(table, this.config as ColumnBuilderRuntimeConfig<any, any>);
}
}
Expand Down

0 comments on commit 783fc76

Please sign in to comment.