Merge pull request #929 from maxlang/next
update typescript defs to support more accurate MithrilAttributes interface
This commit is contained in:
commit
62dd3d12ce
1 changed files with 6 additions and 0 deletions
6
mithril.d.ts
vendored
6
mithril.d.ts
vendored
|
|
@ -534,6 +534,12 @@ declare module _mithril {
|
||||||
* @see MithrilElementConfig
|
* @see MithrilElementConfig
|
||||||
*/
|
*/
|
||||||
config?: MithrilElementConfig;
|
config?: MithrilElementConfig;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Any other virtual element properties including attributes and
|
||||||
|
* event handlers
|
||||||
|
*/
|
||||||
|
[property: string]: any;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue