diff --git a/mithril.d.ts b/mithril.d.ts index fba1b56a..72c451b3 100644 --- a/mithril.d.ts +++ b/mithril.d.ts @@ -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.