This repository was archived by the owner on Feb 14, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 87
Problem with super(props)Β #126
Copy link
Copy link
Open
Labels
bugSomething isn't working as expected.Something isn't working as expected.help wantedThe owner cannot resolve this on their own.The owner cannot resolve this on their own.
Milestone
Description
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.
vjsingh
Metadata
Metadata
Assignees
Labels
bugSomething isn't working as expected.Something isn't working as expected.help wantedThe owner cannot resolve this on their own.The owner cannot resolve this on their own.