This commit is contained in:
valtron 2016-11-15 13:44:46 -07:00 committed by Pat Cavit
parent 1e5e65cada
commit bc2b3c5fdc

7
mithril.d.ts vendored
View file

@ -258,6 +258,13 @@ declare namespace Mithril {
*/
param(key: string): string;
/**
* Gets all route parameters.
*
* @return All route parameters.
*/
param(): Object;
/**
* The current routing mode. This may be changed before calling
* m.route to change the part of the URL used to perform the routing.