typed-route
Advanced tools
Comparing version 0.0.2 to 1.0.0
@@ -0,0 +0,0 @@ import { Union } from 'ts-toolbelt'; |
@@ -0,0 +0,0 @@ "use strict"; |
{ | ||
"name": "typed-route", | ||
"version": "0.0.2", | ||
"version": "1.0.0", | ||
"description": "Type safe routes", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/Atrue/typed-route", |
@@ -149,3 +149,3 @@ <h1 align="center">typed-route</h1> | ||
{ id: 1, optional: 'test' } | ||
); // item/test | ||
); // item/1/test | ||
``` | ||
@@ -217,3 +217,3 @@ | ||
``` | ||
And you can it with react-router instead of InferTypedRoute | ||
And you can use it with react-router instead of InferTypedRoute | ||
```tsx | ||
@@ -220,0 +220,0 @@ type SubFormProps = RouteComponentProps<RoutesParams['form']['subForm']['detail']>; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
0
10513