Create route methods implementation #60
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.
|