diff --git a/apps/drive-web/src/lib/path.ts b/apps/drive-web/src/lib/path.ts index 05c167f..9445453 100644 --- a/apps/drive-web/src/lib/path.ts +++ b/apps/drive-web/src/lib/path.ts @@ -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