types: bump TS version + type test for createComponent

This commit is contained in:
Evan You
2019-05-30 22:09:48 +08:00
parent caad39c353
commit e665a133e9
11 changed files with 46 additions and 770 deletions

View File

@@ -751,7 +751,7 @@ type NativeElements = {
declare namespace JSX {
interface Element {}
interface ElementClass {
render(props: any, slots: any, attrs: any): any
$props: {}
}
interface ElementAttributesProperty {
$props: {}