From d770f29e390a97a61c6584a9018e3424e2df78ba Mon Sep 17 00:00:00 2001 From: Max Lang Date: Mon, 11 Jan 2016 17:09:38 -0500 Subject: [PATCH] update typescript defs to support broader MithrilAttributes --- mithril.d.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/mithril.d.ts b/mithril.d.ts index 646116de..111a9ebc 100644 --- a/mithril.d.ts +++ b/mithril.d.ts @@ -534,6 +534,12 @@ declare module _mithril { * @see MithrilElementConfig */ config?: MithrilElementConfig; + + /** + * Any other virtual element properties including attributes and + * event handlers + */ + [property: string]: any; } /**