Merge pull request #591 from blacha/next
Fixing TS1016: A required parameter cannot follow an optional parameter
This commit is contained in:
commit
20179c17c7
1 changed files with 1 additions and 1 deletions
2
mithril.d.ts
vendored
2
mithril.d.ts
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue