Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unexpected errors #143

Open
DonatasBrazionis opened this issue Nov 20, 2017 · 0 comments
Open

Unexpected errors #143

DonatasBrazionis opened this issue Nov 20, 2017 · 0 comments

Comments

@DonatasBrazionis
Copy link

Using versions in package.json:

"@simplr/react-forms": "^4.3.3"
"@simplr/react-forms-dom": "^4.3.3"

Error:

[17:33:55] ERROR TS: D:/Projects/Admin/node_modules/@simplr/react-forms-dom/components/radio-group.d.ts(23,22): error TS2417: Class static side 'typeof RadioGroup' incorrectly extends base class static side 'typeof BaseDomField'.
  Types of property 'childContextTypes' are incompatible.
    Type 'ValidationMap<RadioGroupChildContext>' is not assignable to type 'ValidationMap<FieldChildContext>'.
      Types of property 'FieldId' are incompatible.
        Type 'Validator<RadioGroupChildContext> | undefined' is not assignable to type 'Validator<FieldChildContext> | undefined'.
          Type 'Validator<RadioGroupChildContext>' is not assignable to type 'Validator<FieldChildContext> | undefined'.
            Type 'Validator<RadioGroupChildContext>' is not assignable to type 'Validator<FieldChildContext>'.
              Types of parameters 'object' and 'object' are incompatible.
                Type 'FieldChildContext' is not assignable to type 'RadioGroupChildContext'.
                  Property 'RadioGroupOnChangeHandler' is missing in type 'FieldChildContext'.
[17:33:55] ERROR TS: D:/Projects/Admin/node_modules/@simplr/react-forms-dom/components/radio.d.ts(18,22): error TS2417: Class static side 'typeof Radio' incorrectly extends base class static side 'typeof BaseContainer'.
  Types of property 'contextTypes' are incompatible.
    Type 'ValidationMap<RadioParentContext>' is not assignable to type 'ValidationMap<BaseContainerParentContext>'.
      Types of property 'FormId' are incompatible.
        Type 'Validator<RadioParentContext> | undefined' is not assignable to type 'Validator<BaseContainerParentContext> | undefined'.
          Type 'Validator<RadioParentContext>' is not assignable to type 'Validator<BaseContainerParentContext> | undefined'.
            Type 'Validator<RadioParentContext>' is not assignable to type 'Validator<BaseContainerParentContext>'.
              Types of parameters 'object' and 'object' are incompatible.
                Type 'BaseContainerParentContext' is not assignable to type 'RadioParentContext'.
                  Type 'BaseContainerParentContext' is not assignable to type 'RadioGroupChildContext'.
                    Property 'RadioGroupOnChangeHandler' is missing in type 'BaseContainerParentContext'.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant