boring-router
Advanced tools
Comparing version 0.4.0 to 0.4.1
@@ -21,2 +21,2 @@ import { Dict } from 'tslang'; | ||
export declare type GroupToRouteSchemaDictDict = Dict<RouteSchemaDict>; | ||
export declare function schema<T extends RouteSchemaDict>(schema: T): T; | ||
export declare function schema<T extends RouteSchema>(schema: T): T; |
{ | ||
"name": "boring-router", | ||
"version": "0.4.0", | ||
"version": "0.4.1", | ||
"description": "A type-safe MobX router with parallel routing support.", | ||
@@ -36,3 +36,3 @@ "repository": { | ||
}, | ||
"gitHead": "4d4772f9f24a1c9719302fc490877e11520e412f" | ||
"gitHead": "4320e9f308883bbbaa0be18f8ca76c70bd5fb30f" | ||
} |
@@ -25,4 +25,4 @@ import {Dict} from 'tslang'; | ||
export function schema<T extends RouteSchemaDict>(schema: T): T { | ||
export function schema<T extends RouteSchema>(schema: T): T { | ||
return schema; | ||
} |
Sorry, the diff of this file is not supported yet
202383