4 ms·
I absolutely love how React+TypeScript setup handles PropTypes elegantly. And then you get the amazing intellisense automatically. ``` interface State {} int
by smdz 10y ago
I absolutely love how React+TypeScript setup handles PropTypes elegantly. And then you get the amazing intellisense automatically.
```
interface State {}
interface ISomeComponentProps {
title: string;
tooltip?: string
....
}
@ReduxConnected
export class SomeComponent extends React.Component<ISomeComponentProps, State> {
....
```