From 9142db3c88ca7c266e8fc0e8e87a3d5f8d3e4581 Mon Sep 17 00:00:00 2001 From: Dan Tasse Date: Thu, 1 Oct 2026 11:32:58 -0500 Subject: [PATCH] fix(node): require a numeric typeId in DataTypeLike Co-Authored-By: Claude Fable 5.1 --- nodejs/lancedb/arrow.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nodejs/lancedb/arrow.ts b/nodejs/lancedb/arrow.ts index 710889d5e..71e3abaae 100644 --- a/nodejs/lancedb/arrow.ts +++ b/nodejs/lancedb/arrow.ts @@ -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.