// Type definitions for feather-route-matcher 3.1 // Project: https://github.com/henrikjoreteg/feather-route-matcher // Definitions by: Eugeny Schibrikov // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped interface RouteConfig { [path: string]: T; } interface Match { page: T; url: string; params: { [key: string]: string } | null; } interface Matcher { (path: string): Match; } declare function createMatcher(config: RouteConfig): Matcher; export { createMatcher as default };