fix: wrong path arktype schema

use .array() to specify an array, not []
This commit is contained in:
2025-12-15 22:32:51 +00:00
parent 3b37a8d189
commit 5beb238b6d

View File

@@ -6,5 +6,5 @@ export const PathSegment = type({
})
export type PathSegment = typeof PathSegment.infer
export const Path = type([PathSegment])
export const Path = PathSegment.array()
export type Path = typeof Path.infer