From bc2b3c5fdcecc7eaf81ac6ce3ee5507e978f6d66 Mon Sep 17 00:00:00 2001 From: valtron Date: Tue, 15 Nov 2016 13:44:46 -0700 Subject: [PATCH] Fix #1379 (#1398) --- mithril.d.ts | 7 +++++++ 1 file changed, 7 insertions(+) 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.