-
Notifications
You must be signed in to change notification settings - Fork 12.9k
Closed
Labels
Needs InvestigationThis issue needs a team member to investigate its status.This issue needs a team member to investigate its status.RescheduledThis issue was previously scheduled to an earlier milestoneThis issue was previously scheduled to an earlier milestone
Milestone
Description
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
error TS2307: Cannot find module './App.svelte' or its corresponding type declarations.
examples/todo-mvc-svelte/tsconfig.json
error TS2307: Cannot find module './App.svelte' or its corresponding type declarations.
packages/xstate-inspect/tsconfig.json
error TS2344: Type 'TSchema["states"][K]' does not satisfy the constraint 'Required<Pick<StateSchema<any>, "states">>'.
packages/xstate-test/tsconfig.json
error TS2344: Type 'TSchema["states"][K]' does not satisfy the constraint 'Required<Pick<StateSchema<any>, "states">>'.
lensapp/lens
4 of 5 projects failed to build with the old tsc
tsconfig.json
error TS7023: 'steps' implicitly has return type 'any' because it does not have a return type annotation and is referenced directly or indirectly in one of its return expressions.
error TS7006: Parameter 'stepElem' implicitly has an 'any' type.
Metadata
Metadata
Assignees
Labels
Needs InvestigationThis issue needs a team member to investigate its status.This issue needs a team member to investigate its status.RescheduledThis issue was previously scheduled to an earlier milestoneThis issue was previously scheduled to an earlier milestone