Mithril: fix new excess property check (#15985)

This commit is contained in:
Andy
2017-04-19 10:09:54 -07:00
committed by GitHub
parent 80f957b8e6
commit 9ee1d80490

View File

@@ -116,7 +116,7 @@ const FRAME_BUDGET = 100;
{
// define a component
const Greeter: m.Comp<{}, {}> = {
const Greeter: m.Comp<{ style: string }, {}> = {
view(vnode) {
return m("div", vnode.attrs, ["Hello ", vnode.children]);
}