Skip to content

Add RouteMeta and simplify Route types #45

Add RouteMeta and simplify Route types

Add RouteMeta and simplify Route types #45

Triggered via pull request December 21, 2023 19:29
@pleek91pleek91
synchronize #25
route-meta
Status Failure
Total duration 31s
Artifacts

test.yml

on: pull_request
Type Validation
11s
Type Validation
Unit Tests
13s
Unit Tests
Type Tests
20s
Type Tests
Fit to window
Zoom out
Zoom in

Annotations

4 errors
Type Validation: src/utilities/flattenRoutes.ts#L8
Argument of type '{} | { [x: string]: unknown[] | [any]; } | { [x: string]: [any]; }' is not assignable to parameter of type 'Record<string, Param[]>'.
Type Validation
Process completed with exit code 2.
Type Tests
Argument of type '{} | { [x: string]: unknown[] | [any]; } | { [x: string]: [any]; }' is not assignable to parameter of type 'Record<string, Param[]>'.
Type Tests
Process completed with exit code 1.