typed-routes-generator
Advanced tools
Comparing version 1.0.5 to 1.0.6
{ | ||
"name": "typed-routes-generator", | ||
"version": "1.0.5", | ||
"version": "1.0.6", | ||
"description": "Generate typed routes from yaml file", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -17,3 +17,3 @@ # Typed routes generator | ||
``` | ||
```yaml | ||
mainRoutes: | ||
@@ -36,3 +36,3 @@ firstLevel: | ||
``` | ||
```typescript | ||
export const mainRoutes = { | ||
@@ -59,5 +59,5 @@ firstLevel: { | ||
``` | ||
```typescript | ||
websiteRoutes.product.detail({ detail: 'product-id' }); | ||
// Output: /products/product-id | ||
``` | ||
``` |
12454
61