Merge pull request #591 from blacha/next

Fixing TS1016: A required parameter cannot follow an optional parameter
This commit is contained in:
Leo Horie 2015-04-28 22:07:37 -04:00
commit 20179c17c7

2
mithril.d.ts vendored
View file

@ -68,7 +68,7 @@ declare module _mithril {
// Configuration function for an element
interface MithrilElementConfig {
(element: Element, isInitialized: boolean, context?: any, vdom: MithrilVirtualElement): void;
(element: Element, isInitialized: boolean, context?: any, vdom?: MithrilVirtualElement): void;
}
// Attributes on a virtual element