update docs about config: m.route
This commit is contained in:
parent
51d073e414
commit
f0b20da30a
3 changed files with 11 additions and 3 deletions
2
mithril.d.ts
vendored
2
mithril.d.ts
vendored
|
|
@ -29,7 +29,7 @@ declare module _mithril {
|
|||
<T extends MithrilController>(rootElement: HTMLDocument, defaultRoute: string, routes: MithrilRoutes<T>): void;
|
||||
<T extends MithrilController>(rootElement: Element, defaultRoute: string, routes: MithrilRoutes<T>): void;
|
||||
|
||||
(element: Element, isInitialized: boolean): void;
|
||||
(element: Element, isInitialized: boolean, context: Object, vdom: Object): void;
|
||||
(path: string, params?: any, shouldReplaceHistory?: boolean): void;
|
||||
(): string;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue