fix(node): require a numeric typeId in DataTypeLike

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
Dan Tasse
2026-10-01 11:32:58 -05:00
co-authored by Claude Fable 5.1
parent 003b87bfa0
commit 9142db3c88
+1 -1
View File
@@ -79,7 +79,7 @@ export type FieldLike =
* type of this one even though it is structurally identical. Inputs that only
* need to be sanitized accept this looser shape instead.
*/
export type DataTypeLike = DataType | { readonly typeId: unknown };
export type DataTypeLike = DataType | { readonly typeId: number };
/**
* Create an Arrow field backed by LanceDB's JSON extension type.