mirror of
https://github.com/get-drexa/drive.git
synced 2026-02-02 19:21:18 +00:00
fix: wrong path arktype schema
use .array() to specify an array, not []
This commit is contained in:
@@ -6,5 +6,5 @@ export const PathSegment = type({
|
|||||||
})
|
})
|
||||||
export type PathSegment = typeof PathSegment.infer
|
export type PathSegment = typeof PathSegment.infer
|
||||||
|
|
||||||
export const Path = type([PathSegment])
|
export const Path = PathSegment.array()
|
||||||
export type Path = typeof Path.infer
|
export type Path = typeof Path.infer
|
||||||
|
|||||||
Reference in New Issue
Block a user