New Feature: Support tsx
New Feature: p({type: Number}) no longer requires casting.
BREAKING CHANGE:
You need to turn on allowSyntheticDefaultImports
in tsconfig.json
BREAKING CHANGE:
- @Watch decorator is changed to decorate watch handler, rather than property being wacthed. This new API does not require annotating Component type in generic and can still keep watch handler type checked. More info in #5 (comment).