Browse Source

KERNEL-7826 refactor: 通用属性定义

es6
Kira 4 years ago
parent
commit
14c3ecfd66
  1. 5
      typescript/shims-tsx.ts

5
typescript/shims-tsx.ts

@ -29,6 +29,11 @@ interface ElementClassProps<T> extends UIProps {
[key: string]: any [key: string]: any
} }
tagName: string; tagName: string;
element: any;
beforeRender(callback: () => void): void;
beforeInit(callback: () => void): void;
render(): void;
} }
declare namespace JSX { declare namespace JSX {

Loading…
Cancel
Save