I am trying to use Typescript with react (javascript) I keep seeing examples in these two forms:
1. React.Component<any, any>
2. React.Component<{}, {}>
Are 1 and 2 equivalent?
Which one is the prefered style?
FOLLOWUP: I was reading this book: charleslbryant.gitbooks.io/hello-react-and-typescript/content/…. This code uses React.Component<{}, {}>. Does this mean null, null so no state or properties for this component?