@swan-io/chicane
Advanced tools
Comparing version 1.0.0 to 1.0.1
import { ExtractRoutesParams, GetNestedRoutes, ParamsArg, PrependBasePath, Simplify } from "./types"; | ||
export declare const createRouter: <Routes extends Record<string, string>, BasePath extends string = string>(routes: Readonly<Routes>, options?: { | ||
basePath?: BasePath; | ||
blockerMessage?: string; | ||
}) => { | ||
@@ -6,0 +5,0 @@ useRoute: <RouteName extends keyof GetNestedRoutes<PrependBasePath<Routes, BasePath>> | Exclude<keyof Routes, keyof GetNestedRoutes<PrependBasePath<Routes, BasePath>>>>(routeNames: readonly RouteName[]) => RouteName extends string ? { |
{ | ||
"name": "@swan-io/chicane", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"license": "MIT", | ||
"description": "A simple and safe router for React and TypeScript", | ||
"author": "Mathieu Acthernoene <mathieu.acthernoene@swan.io>", | ||
"homepage": "https://github.com/swan-io/chicane#readme", | ||
"homepage": "https://swan-io.github.io/chicane", | ||
"repository": { | ||
@@ -54,3 +54,3 @@ "type": "git", | ||
"history": "^5.3.0", | ||
"use-sync-external-store": "1.0.0-rc.2 || ^1.0.0" | ||
"use-sync-external-store": "^1.0.0" | ||
}, | ||
@@ -57,0 +57,0 @@ "devDependencies": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
98370
228
+ Addeduse-sync-external-store@1.4.0(transitive)