react-forms icon indicating copy to clipboard operation
react-forms copied to clipboard

Unexpected errors

Open DonatasBrazionis opened this issue 7 years ago • 0 comments

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'.

DonatasBrazionis avatar Nov 20 '17 16:11 DonatasBrazionis