Skip to content

[NewErrors] 4.4.0-dev.20210602 vs 4.3.2 #44427

Closed

Description

The following errors were reported by 4.4.0-dev.20210602, but not by 4.3.2

vercel/hyper

2 of 3 projects failed to build with the old tsc

tsconfig.json

styled-components/styled-components

packages/styled-components/tsconfig.json

cheeriojs/cheerio

1 of 2 projects failed to build with the old tsc

tsconfig.json

  • error TS2345: Argument of type '{ context: Node[]; xmlMode: boolean | undefined; }' is not assignable to parameter of type 'Options<Node, Element>'.
  • error TS2345: Argument of type '{ scriptingEnabled: boolean; treeAdapter: TypedTreeAdapter<TreeAdapterTypeMap>; sourceCodeLocationInfo: boolean | undefined; }' is not assignable to parameter of type 'ParserOptions<TypedTreeAdapter<TreeAdapterTypeMap>>'.

vuejs/vue-next

1 of 3 projects failed to build with the old tsc

test-dts/tsconfig.json

tsconfig.json

react-hook-form/react-hook-form

2 of 4 projects failed to build with the old tsc

tsconfig.jest.json

  • error TS2322: Type 'string | undefined' is not assignable to type 'string'.
  • error TS2345: Argument of type '{ resolver: any; mode: "onBlur" | "onChange" | "onSubmit" | undefined; }' is not assignable to parameter of type 'Partial<{ mode: keyof ValidationMode; reValidateMode: "onBlur" | "onChange" | "onSubmit"; defaultValues: { test?: string; }; resolver: Resolver<{ test: string; }, object>; context: object; shouldFocusError: boolean; shouldUnregister: boolean; criteriaMode: CriteriaMode; }>'.
  • error TS2345: Argument of type '{ criteriaMode: CriteriaMode | undefined; names: FieldName<TFieldValues>[]; fields: Record<string, { ref: Ref; name: string; value?: any; refs?: HTMLInputElement[]; mount?: boolean; } & Partial<...>>; }' is not assignable to parameter of type 'ResolverOptions<TFieldValues>'.
  • error TS2322: Type '{ register: UseFormRegister<TFieldValues>; inFieldArrayActionRef: React.MutableRefObject<boolean>; getIsDirty: GetIsDirty; ... 10 more ...; shouldUnmount: boolean | undefined; }' is not assignable to type 'Control<TFieldValues>'.

tsconfig.json

  • error TS2322: Type 'string | undefined' is not assignable to type 'string'.
  • error TS2345: Argument of type '{ resolver: any; mode: "onBlur" | "onChange" | "onSubmit" | undefined; }' is not assignable to parameter of type 'Partial<{ mode: keyof ValidationMode; reValidateMode: "onBlur" | "onChange" | "onSubmit"; defaultValues: { test?: string; }; resolver: Resolver<{ test: string; }, object>; context: object; shouldFocusError: boolean; shouldUnregister: boolean; criteriaMode: CriteriaMode; }>'.
  • error TS2345: Argument of type '{ criteriaMode: CriteriaMode | undefined; names: FieldName<TFieldValues>[]; fields: Record<string, { ref: Ref; name: string; value?: any; refs?: HTMLInputElement[]; mount?: boolean; } & Partial<...>>; }' is not assignable to parameter of type 'ResolverOptions<TFieldValues>'.
  • error TS2322: Type '{ register: UseFormRegister<TFieldValues>; inFieldArrayActionRef: React.MutableRefObject<boolean>; getIsDirty: GetIsDirty; ... 10 more ...; shouldUnmount: boolean | undefined; }' is not assignable to type 'Control<TFieldValues>'.

balena-io/etcher

1 of 2 projects failed to build with the old tsc

tsconfig.webpack.json

homebridge/homebridge

tsconfig.json

youzan/vant

2 of 8 projects failed to build with the old tsc

packages/vant-cli/tsconfig.json

packages/vant-use/tsconfig.json

vadimdemedes/ink

1 of 2 projects failed to build with the old tsc

tsconfig.json

rough-stuff/rough

tsconfig.json

ionic-team/ionicons

tsconfig.json

flatpickr/flatpickr

src/tsconfig.json

tsconfig.declarations.json

tsconfig.esm.json

tsconfig.json

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    InfrastructureIssue relates to TypeScript team infrastructure

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions