Open ArthurClemens opened 3 years ago
@spacejack Also, the TS defs need updated to accept variadic children to align with the current hyperscript API (the ...args
in m(Comp, ...args)
and in m.fragment(...args)
is handled the exact same way behind the scenes, so they should have identical prototypes).
Error:
This can be solved by adding a second entry in the d.ts: