mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-06-28 14:20:12 +00:00
Mithril: fix new excess property check (#15985)
This commit is contained in:
@@ -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]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user