I've just started using reactn, when I switch to using
import React, {Component} from 'reactn'
in all my classes where I have
class FooBar extends Component<FooProps, FooState> {
constructor(props: FooProps) {
super(props);
I'm getting the following for error for the call to super(props)
Expected 0 arguments, but got 1.
I'm using TypeScript 3.6.2.
I've just started using reactn, when I switch to using
import React, {Component} from 'reactn'
in all my classes where I have
class FooBar extends Component<FooProps, FooState> {
constructor(props: FooProps) {
super(props);
I'm getting the following for error for the call to super(props)
Expected 0 arguments, but got 1.
I'm using TypeScript 3.6.2.