Skip to content

Create route methods implementation #60

Create route methods implementation

Create route methods implementation #60

Triggered via pull request December 27, 2023 20:19
Status Failure
Total duration 32s
Artifacts

test.yml

on: pull_request
Type Validation
17s
Type Validation
Unit Tests
22s
Unit Tests
Type Tests
18s
Type Tests
Fit to window
Zoom out
Zoom in

Annotations

4 errors
Type Validation: src/utilities/createRouter.ts#L53
Type '{ routes: Record<string, Node>; push: (url: string) => void; replace: (url: string) => void; forward: () => void; back: () => void; go: (number: number) => void; routeMatch: (path: string) => Resolved<...> | undefined; }' is not assignable to type 'Router<T>'.
Type Validation
Process completed with exit code 2.
Type Tests
Type '{ routes: Record<string, Node>; push: (url: string) => void; replace: (url: string) => void; forward: () => void; back: () => void; go: (number: number) => void; routeMatch: (path: string) => Resolved<...> | undefined; }' is not assignable to type 'Router<T>'.
Type Tests
Process completed with exit code 1.