mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-24 05:06:02 +08:00
Replace React.Component<(.*), (any|void|\{\}|null)> by React.Component<$1>
+ many manual adjustments
This commit is contained in:
@@ -7,7 +7,7 @@ interface TableProps extends CSSModules.InjectedCSSModuleProps {
|
||||
|
||||
}
|
||||
|
||||
class Table extends React.Component<TableProps, {}> {
|
||||
class Table extends React.Component<TableProps> {
|
||||
render () {
|
||||
const { styles } = this.props;
|
||||
|
||||
@@ -29,7 +29,7 @@ interface TableDecoratedProps extends CSSModules.InjectedCSSModuleProps {
|
||||
}
|
||||
|
||||
@CSSModules(styles)
|
||||
class TableDecorated extends React.Component<TableDecoratedProps, {}> {
|
||||
class TableDecorated extends React.Component<TableDecoratedProps> {
|
||||
render () {
|
||||
const { styles } = this.props;
|
||||
|
||||
@@ -47,7 +47,7 @@ interface TableProps extends CSSModules.InjectedCSSModuleProps {
|
||||
|
||||
}
|
||||
|
||||
class Svg extends React.Component<TableProps, {}> {
|
||||
class Svg extends React.Component<TableProps> {
|
||||
render () {
|
||||
const { styles } = this.props;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user