mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-29 09:55:50 +08:00
Replace React.Component<(any|void|\{\}|null)> by React.Component
+ many manual adjustments
This commit is contained in:
@@ -23,7 +23,7 @@ const options = {
|
||||
position: 'absolute'
|
||||
};
|
||||
|
||||
class MyComponent extends React.Component<any> {
|
||||
class MyComponent extends React.Component {
|
||||
getInitialState() {
|
||||
return { loaded: false };
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user