Skip to content

[NewErrors] 4.5.0-dev.20211024 vs 4.4.4 #46506

@typescript-bot

Description

@typescript-bot

The following errors were reported by 4.5.0-dev.20211024, but not by 4.4.4

typeorm/typeorm

tsconfig.json

react-hook-form/react-hook-form

2 of 3 projects failed to build with the old tsc

tsconfig.json

  • error TS2322: Type 'UseFormReturn<FormFieldsBig, object>' is not assignable to type 'Omit<UseFormReturn<FormFieldsSmall, object>, "watch">'.
  • error TS2322: Type 'UseFormRegister<FieldValues>' is not assignable to type 'UseFormRegister<FormValues>'.
  • error TS2345: Argument of type 'UnpackNestedValue<PathValue<TFieldValues, TFieldName>>' is not assignable to parameter of type 'UnpackNestedValue<PathValue<TFieldValues, Path<TFieldValues>>>'.
  • error TS2322: Type 'Partial<FieldArrayWithId<{ [x: string]: ...; }, TFieldArrayName, TKeyName>>[]' is not assignable to type 'Partial<FieldArrayWithId<TFieldValues, TFieldArrayName, TKeyName>>[]'.
  • error TS2322: Type 'Partial<FieldArrayWithId<FieldValues, TFieldArrayName, TKeyName>>[]' is not assignable to type 'Partial<FieldArrayWithId<TFieldValues, TFieldArrayName, TKeyName>>[]'.

statelyai/xstate

5 of 17 projects failed to build with the old tsc

examples/template-svelte-ts/tsconfig.json

examples/todo-mvc-svelte/tsconfig.json

packages/xstate-inspect/tsconfig.json

packages/xstate-test/tsconfig.json

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions