Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

typed-route

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

typed-route - npm Package Compare versions

Comparing version 0.0.2 to 1.0.0

0

lib/index.d.ts

@@ -0,0 +0,0 @@ import { Union } from 'ts-toolbelt';

@@ -0,0 +0,0 @@ "use strict";

2

package.json
{
"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']>;

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc