Beta: Mostly type fixes
Pre-release
Pre-release
secretlifeof
released this
01 Sep 08:45
·
78 commits
to master
since this release
This one adds types so that shortcuts (i.e. "c") can be used without type error and values associated with a property (i.e. "color") are connected to the shortcut (i.e. "c").
Problems that need fixing
// returns type any
const Boxa = Box.with()
// therefor this has no autocomplete
const fn = () => <Boxa>Hello</Boxa>
// no type checking from with function
const Beatbox = Boxa.with({ c: 'blue' })