Skip to content

Commit 050ea2a

Browse files
committed
Minor testing improvement
1 parent 351a1fc commit 050ea2a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

crates/bindings-typescript/src/server/type_builders.test-d.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import type {
55
InferTypeOfRow,
66
InferTypeOfTypeBuilder,
77
TypeBuilder,
8+
U8ColumnBuilder,
89
} from './type_builders';
910

1011
type MustBeNever<T> = [T] extends [never]
@@ -93,6 +94,9 @@ const _row3: {
9394
// eslint-disable-next-line @typescript-eslint/no-unused-vars
9495
const _row4: {
9596
foo: TypeBuilder<string, AlgebraicTypeVariants.String>;
97+
baz: U8ColumnBuilder<{
98+
isAutoIncrement: true;
99+
}>;
96100
bar: I32ColumnBuilder<{
97101
isPrimaryKey: true;
98102
}>;
@@ -102,6 +106,7 @@ const _row4: {
102106
}>;
103107
} = {
104108
foo: t.string(),
109+
baz: t.u8().autoInc(),
105110
bar: t.i32().primaryKey(),
106111
idx: t.i64().unique().index('btree'),
107112
};

0 commit comments

Comments
 (0)