Skip to content

[NewErrors] 4.6.0-dev.20211107 vs 4.4.4 #46721

@typescript-bot

Description

@typescript-bot

The following errors were reported by 4.6.0-dev.20211107, but not by 4.4.4

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 'PathValue<TFieldValues, TName>' is not assignable to type 'UnpackNestedValue<PathValue<TFieldValues, TName>>'.
  • 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

lensapp/lens

4 of 5 projects failed to build with the old tsc

tsconfig.json

Metadata

Metadata

Assignees

Labels

Needs InvestigationThis issue needs a team member to investigate its status.RescheduledThis issue was previously scheduled to an earlier milestone

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions