The following errors were reported by 4.5.0-dev.20211024, but not by 4.4.4
error TS2548: Type '{ [x: string]: any; }' is not an array type or does not have a '[Symbol.iterator]()' method that returns an iterator.
error TS2321: Excessive stack depth comparing types 'FindConditions<any>' and 'FindConditions<Entity>'.
2 of 3 projects failed to build with the old tsc
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>>[]'.
5 of 17 projects failed to build with the old tsc
error TS2307: Cannot find module './App.svelte' or its corresponding type declarations.
error TS2307: Cannot find module './App.svelte' or its corresponding type declarations.
error TS2344: Type 'TSchema["states"][K]' does not satisfy the constraint 'Required<Pick<StateSchema<any>, "states">>'.
error TS2344: Type 'TSchema["states"][K]' does not satisfy the constraint 'Required<Pick<StateSchema<any>, "states">>'.
The following errors were reported by 4.5.0-dev.20211024, but not by 4.4.4
typeorm/typeorm
tsconfig.json
error TS2548: Type '{ [x: string]: any; }' is not an array type or does not have a '[Symbol.iterator]()' method that returns an iterator.error TS2321: Excessive stack depth comparing types 'FindConditions<any>' and 'FindConditions<Entity>'.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
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">>'.