error TS2345: Argument of type '{ options: { prefix: boolean; }; plugins: Middleware[] | undefined; }' is not assignable to parameter of type 'StylisInstanceConstructorArgs'.
error TS2807: This syntax requires an imported helper named '__spreadArray' with 3 parameters, which is not compatible with the one in 'tslib'. Consider upgrading your version of 'tslib'.
error TS2322: Type '{ description: string | undefined; keywords: string | string[] | undefined; image: string | undefined; }' is not assignable to type 'Props'.
error TS2322: Type '((e: MouseEvent<HTMLAnchorElement, MouseEvent>) => void) | undefined' is not assignable to type 'MouseEventHandler<HTMLAnchorElement>'.
error TS2322: Type '{ children: ReactNode; hidden: boolean | undefined; className: string | undefined; role: "tabpanel"; }' is not assignable to type 'DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>'.
error TS2345: Argument of type '{ context: Node[]; root: Document | undefined; xmlMode: boolean | undefined; }' is not assignable to parameter of type 'Options'.
error TS2345: Argument of type '{ scriptingEnabled: boolean; treeAdapter: TypedTreeAdapter<TreeAdapterTypeMap>; sourceCodeLocationInfo: boolean | undefined; }' is not assignable to parameter of type 'ParserOptions<TypedTreeAdapter<TreeAdapterTypeMap>>'.
error TS2807: This syntax requires an imported helper named '__spreadArray' with 3 parameters, which is not compatible with the one in 'tslib'. Consider upgrading your version of 'tslib'.
error TS2345: Argument of type '{ context: Node[]; root: Document | undefined; xmlMode: boolean | undefined; }' is not assignable to parameter of type 'Options'.
error TS2345: Argument of type '{ scriptingEnabled: boolean; treeAdapter: TypedTreeAdapter<TreeAdapterTypeMap>; sourceCodeLocationInfo: boolean | undefined; }' is not assignable to parameter of type 'ParserOptions<TypedTreeAdapter<TreeAdapterTypeMap>>'.
error TS2807: This syntax requires an imported helper named '__spreadArray' with 3 parameters, which is not compatible with the one in 'tslib'. Consider upgrading your version of 'tslib'.
error TS2322: Type '{ register: UseFormRegister<TFieldValues>; inFieldArrayActionRef: React.MutableRefObject<boolean>; getIsDirty: GetIsDirty; ... 10 more ...; shouldUnmount: boolean | undefined; }' is not assignable to type 'Control<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>'.
error TS2322: Type 'CSSProperties | { flex: string | undefined; width: string | undefined; height: string | undefined; }' is not assignable to type 'CSSProperties'.
error TS2345: Argument of type '{ hasImage: boolean; imageName: string | undefined; imageSize: number | undefined; }' is not assignable to parameter of type 'SourceSelectorState | ((prevState: Readonly<SourceSelectorState>, props: Readonly<SourceSelectorProps>) => SourceSelectorState | ... 1 more ... | null) | Pick<...> | null'.
error TS2322: Type '{ path: string; displayName: string; description: string; size: number | undefined; SourceType: typeof sourceDestination.BlockDevice; drive: DrivelistDrive; }' is not assignable to type 'SourceMetadata'.
error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'Error & { description?: string; report?: boolean; code?: string; syscall?: string; errno?: number; stdout?: string; stderr?: string; device?: string; }'.
error TS2345: Argument of type '{ username: string; port: number | undefined; }' is not assignable to parameter of type 'ChildProcessPortAllocatedEventData'.
error TS2345: Argument of type '{ interactionKind: Popover2InteractionKind; openOnTargetFocus: boolean | undefined; usePortal: true; }' is not assignable to parameter of type 'Partial<IPopover2Props<HTMLProps<HTMLElement>>>'.
error TS2345: Argument of type '{ activeFocusId: undefined; }' is not assignable to parameter of type 'State | ((prevState: Readonly<State>, props: Readonly<Props>) => State | Pick<State, "activeFocusId"> | null) | Pick<...> | null'.
error TS2322: Type '{ id: "use the __filebasename variable"; description: any; screenshot: string | undefined; }' is not assignable to type 'void | FeatureMeta'.
error TS2345: Argument of type '{ include: BooleanFunction[]; exclude: BooleanFunction[]; init: FeatureInit; deinit: VoidFunction | VoidFunction[] | undefined; additionalListeners: CallerFunction[]; onlyAdditionalListeners: boolean; }' is not assignable to parameter of type 'InternalRunConfig'.
error TS2345: Argument of type '{ hour: "numeric"; minute: "numeric"; weekday: "long" | undefined; }' is not assignable to parameter of type 'DateTimeFormatOptions'.
error TS2807: This syntax requires an imported helper named '__spreadArray' with 3 parameters, which is not compatible with the one in 'tslib'. Consider upgrading your version of 'tslib'.
error TS2807: This syntax requires an imported helper named '__spreadArray' with 3 parameters, which is not compatible with the one in 'tslib'. Consider upgrading your version of 'tslib'.
error TS2345: Argument of type 'Window & typeof globalThis' is not assignable to parameter of type 'Element | Window | Document | (Element | Window | Document)[]'.
error TS2345: Argument of type 'Window & typeof globalThis' is not assignable to parameter of type 'Element | Window | Document | (Element | Window | Document)[]'.
error TS2345: Argument of type 'Window & typeof globalThis' is not assignable to parameter of type 'Element | Window | Document | (Element | Window | Document)[]'.
The following errors were reported by 4.4.0-dev.20210613, but not by 4.3.2
vercel/hyper
2 of 3 projects failed to build with the old tsc
tsconfig.json
error TS2571: Object is of type 'unknown'.
error TS2322: Type 'undefined' is not assignable to type '(win: BrowserWindow) => void'.
styled-components/styled-components
packages/styled-components/tsconfig.json
error TS2345: Argument of type '{ options: { prefix: boolean; }; plugins: Middleware[] | undefined; }' is not assignable to parameter of type 'StylisInstanceConstructorArgs'.
error TS2322: Type 'ShouldForwardProp | undefined' is not assignable to type 'ShouldForwardProp'.
error TS2322: Type 'undefined' is not assignable to type 'GroupedTag'.
error TS2571: Object is of type 'unknown'.
typeorm/typeorm
tsconfig.json
error TS2807: This syntax requires an imported helper named '__spreadArray' with 3 parameters, which is not compatible with the one in 'tslib'. Consider upgrading your version of 'tslib'.
facebook/docusaurus
15 of 19 projects failed to build with the old tsc
packages/docusaurus-theme-bootstrap/tsconfig.json
error TS2322: Type 'string | undefined' is not assignable to type 'string | boolean'.
error TS2322: Type 'string | undefined' is not assignable to type 'string'.
error TS2322: Type '{ readonly title: string; readonly permalink: string; } | undefined' is not assignable to type 'Item'.
packages/docusaurus-theme-classic/tsconfig.json
error TS2322: Type 'string | undefined' is not assignable to type 'string | boolean'.
error TS2322: Type 'string | undefined' is not assignable to type 'string'.
error TS2322: Type '{ keywords: readonly string[] | undefined; image: string | undefined; }' is not assignable to type 'Props'.
error TS2322: Type '{ readonly title: string; readonly permalink: string; } | undefined' is not assignable to type 'Item'.
error TS2322: Type '{ title: string | undefined; description: string | undefined; keywords: readonly string[] | undefined; image: string | undefined; }' is not assignable to type 'Props'.
error TS2322: Type 'number | undefined' is not assignable to type 'number'.
error TS2322: Type '((e: any) => void) | undefined' is not assignable to type 'MouseEventHandler<HTMLAnchorElement>'.
error TS2322: Type 'string | undefined' is not assignable to type 'Height<string | number>'.
error TS2322: Type 'string | undefined' is not assignable to type 'Key | null'.
error TS2322: Type 'undefined' is not assignable to type 'string'.
error TS2322: Type '{ description: string | undefined; keywords: string | string[] | undefined; image: string | undefined; }' is not assignable to type 'Props'.
error TS2322: Type '((e: MouseEvent<HTMLAnchorElement, MouseEvent>) => void) | undefined' is not assignable to type 'MouseEventHandler<HTMLAnchorElement>'.
error TS2322: Type 'MouseEventHandler<HTMLAnchorElement> | undefined' is not assignable to type 'MouseEventHandler<HTMLAnchorElement>'.
error TS2322: Type 'boolean | undefined' is not assignable to type 'boolean'.
error TS2322: Type 'any[] | undefined' is not assignable to type 'readonly NavLinkProps[]'.
error TS2322: Type '(() => false) | undefined' is not assignable to type '() => boolean'.
error TS2322: Type '{ children: ReactNode; hidden: boolean | undefined; className: string | undefined; role: "tabpanel"; }' is not assignable to type 'DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>'.
error TS2322: Type 'Footer | undefined' is not assignable to type 'Footer'.
cheeriojs/cheerio
tsconfig.eslint.json
error TS2345: Argument of type '{ context: Node[]; root: Document | undefined; xmlMode: boolean | undefined; }' is not assignable to parameter of type 'Options'.
error TS2345: Argument of type '{ xmlMode: boolean | undefined; root: Document | undefined; }' is not assignable to parameter of type 'Options'.
error TS2345: Argument of type '{ scriptingEnabled: boolean; treeAdapter: TypedTreeAdapter<TreeAdapterTypeMap>; sourceCodeLocationInfo: boolean | undefined; }' is not assignable to parameter of type 'ParserOptions<TypedTreeAdapter<TreeAdapterTypeMap>>'.
error TS2807: This syntax requires an imported helper named '__spreadArray' with 3 parameters, which is not compatible with the one in 'tslib'. Consider upgrading your version of 'tslib'.
tsconfig.json
error TS2345: Argument of type '{ context: Node[]; root: Document | undefined; xmlMode: boolean | undefined; }' is not assignable to parameter of type 'Options'.
error TS2345: Argument of type '{ xmlMode: boolean | undefined; root: Document | undefined; }' is not assignable to parameter of type 'Options'.
error TS2345: Argument of type '{ scriptingEnabled: boolean; treeAdapter: TypedTreeAdapter<TreeAdapterTypeMap>; sourceCodeLocationInfo: boolean | undefined; }' is not assignable to parameter of type 'ParserOptions<TypedTreeAdapter<TreeAdapterTypeMap>>'.
error TS2807: This syntax requires an imported helper named '__spreadArray' with 3 parameters, which is not compatible with the one in 'tslib'. Consider upgrading your version of 'tslib'.
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
error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'Error | undefined'.
error TS2322: Type 'SourceMetadata | undefined' is not assignable to type 'SourceMetadata'.
error TS2322: Type 'string | undefined' is not assignable to type 'string | TooltipProps'.
error TS2345: Argument of type '{ drives: DrivelistDrive[]; image: SourceMetadata | undefined; selectedList: DrivelistDrive[]; }' is not assignable to parameter of type 'DriveSelectorState | ((prevState: Readonly<DriveSelectorState>, props: Readonly<DriveSelectorProps>) => DriveSelectorState | ... 1 more ... | null) | Pick<...> | null'.
error TS2322: Type 'string | undefined' is not assignable to type 'string'.
error TS2769: No overload matches this call.
error TS2322: Type 'CSSProperties | { flex: string | undefined; width: string | undefined; height: string | undefined; }' is not assignable to type 'CSSProperties'.
error TS2322: Type '{ warning: null; showImageDetails: false; showURLSelector: false; showDriveSelector: false; defaultFlowActive: true; imageSelectorOpen: false; hasImage: boolean; imageName: string | undefined; imageSize: number | undefined; }' is not assignable to type 'Readonly<SourceSelectorState>'.
error TS2345: Argument of type '{ hasImage: boolean; imageName: string | undefined; imageSize: number | undefined; }' is not assignable to parameter of type 'SourceSelectorState | ((prevState: Readonly<SourceSelectorState>, props: Readonly<SourceSelectorProps>) => SourceSelectorState | ... 1 more ... | null) | Pick<...> | null'.
error TS2571: Object is of type 'unknown'.
error TS2322: Type '{ path: string; displayName: string; description: string; size: number | undefined; SourceType: typeof sourceDestination.BlockDevice; drive: DrivelistDrive; }' is not assignable to type 'SourceMetadata'.
error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'Error'.
error TS2322: Type 'number | undefined' is not assignable to type 'number'.
error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'Error & { description?: string; report?: boolean; code?: string; syscall?: string; errno?: number; stdout?: string; stderr?: string; device?: string; }'.
error TS2322: Type '"ENOENT" | "EPERM" | "EACCES" | "ENOMEM" | undefined' is not assignable to type '"ENOENT" | "EPERM" | "EACCES" | "ENOMEM"'.
homebridge/homebridge
tsconfig.json
error TS2322: Type 'number | undefined' is not assignable to type 'number'.
error TS2322: Type 'string | string[] | undefined' is not assignable to type 'string | string[]'.
error TS2571: Object is of type 'unknown'.
error TS2322: Type 'string | undefined' is not assignable to type 'string'.
error TS2322: Type 'ExternalPortsConfiguration | undefined' is not assignable to type 'ExternalPortsConfiguration'.
error TS2345: Argument of type '{ username: string; port: number | undefined; }' is not assignable to parameter of type 'ChildProcessPortAllocatedEventData'.
error TS2322: Type 'undefined' is not assignable to type 'string'.
error TS2322: Type 'undefined' is not assignable to type 'Accessory'.
error TS2322: Type 'Record<string, string> | undefined' is not assignable to type 'Record<string, string>'.
error TS2322: Type 'undefined' is not assignable to type '{ engines?: Record<string, string>; dependencies?: Record<string, string>; }'.
error TS2322: Type 'string[] | undefined' is not assignable to type 'string[]'.
error TS2322: Type 'undefined' is not assignable to type 'Plugin'.
error TS2322: Type 'undefined' is not assignable to type 'ExternalPortsConfiguration'.
error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'string'.
palantir/blueprint
13 of 23 projects failed to build with the old tsc
packages/test-commons/src/tsconfig.json
error TS2345: Argument of type 'Window & typeof globalThis' is not assignable to parameter of type 'Window'.
packages/select/src/tsconfig.json
error TS2322: Type 'string | undefined' is not assignable to type 'string'.
error TS2322: Type 'Element | undefined' is not assignable to type 'Element'.
error TS2322: Type 'KeyboardEventHandler<HTMLElement> | undefined' is not assignable to type 'KeyboardEventHandler<HTMLDivElement>'.
error TS2322: Type 'NonNullable<T> | undefined' is not assignable to type 'T'.
error TS2322: Type 'boolean | undefined' is not assignable to type 'boolean'.
packages/popover2/src/tsconfig.json
error TS2322: Type 'Offset | undefined' is not assignable to type 'CSSProperties'.
error TS2769: No overload matches this call.
error TS2322: Type 'boolean | undefined' is not assignable to type 'boolean'.
error TS2322: Type 'HTMLProps<HTMLDivElement> | undefined' is not assignable to type 'HTMLProps<HTMLDivElement>'.
error TS2322: Type '((node: HTMLElement) => void) | undefined' is not assignable to type '(node: HTMLElement) => void'.
error TS2322: Type 'number | undefined' is not assignable to type 'number'.
error TS2322: Type 'string | undefined' is not assignable to type 'string'.
error TS2322: Type 'HTMLElement | undefined' is not assignable to type 'HTMLElement'.
error TS2322: Type '{ options: { mainAxis?: boolean; altAxis?: boolean; fallbackPlacements?: Placement[]; padding?: Padding; boundary: Boundary | undefined; rootBoundary: RootBoundary | undefined; altBoundary?: boolean; flipVariations?: boolean; allowedAutoPlacements?: Placement[]; }; ... 7 more ...; name: "flip"; }' is not assignable to type 'StrictModifier<StrictModifierNames>'.
error TS2322: Type '{ options: { mainAxis?: boolean; altAxis?: boolean; boundary: Boundary | undefined; rootBoundary: RootBoundary | undefined; altBoundary?: boolean; tether?: boolean; tetherOffset?: TetherOffset; padding?: Padding; }; ... 7 more ...; name: "preventOverflow"; }' is not assignable to type 'StrictModifier<StrictModifierNames>'.
packages/popover2/test/tsconfig.json
error TS2322: Type 'Offset | undefined' is not assignable to type 'CSSProperties'.
error TS2769: No overload matches this call.
error TS2322: Type 'boolean | undefined' is not assignable to type 'boolean'.
error TS2322: Type 'HTMLProps<HTMLDivElement> | undefined' is not assignable to type 'HTMLProps<HTMLDivElement>'.
error TS2322: Type '((node: HTMLElement) => void) | undefined' is not assignable to type '(node: HTMLElement) => void'.
error TS2322: Type 'number | undefined' is not assignable to type 'number'.
error TS2322: Type 'string | undefined' is not assignable to type 'string'.
error TS2322: Type 'HTMLElement | undefined' is not assignable to type 'HTMLElement'.
error TS2322: Type '{ options: { mainAxis?: boolean; altAxis?: boolean; fallbackPlacements?: Placement[]; padding?: Padding; boundary: Boundary | undefined; rootBoundary: RootBoundary | undefined; altBoundary?: boolean; flipVariations?: boolean; allowedAutoPlacements?: Placement[]; }; ... 7 more ...; name: "flip"; }' is not assignable to type 'StrictModifier<StrictModifierNames>'.
error TS2322: Type '{ options: { mainAxis?: boolean; altAxis?: boolean; boundary: Boundary | undefined; rootBoundary: RootBoundary | undefined; altBoundary?: boolean; tether?: boolean; tetherOffset?: TetherOffset; padding?: Padding; }; ... 7 more ...; name: "preventOverflow"; }' is not assignable to type 'StrictModifier<StrictModifierNames>'.
error TS2322: Type 'undefined' is not assignable to type 'string | Element'.
error TS2345: Argument of type '{ interactionKind: Popover2InteractionKind; openOnTargetFocus: boolean | undefined; usePortal: true; }' is not assignable to parameter of type 'Partial<IPopover2Props<HTMLProps<HTMLElement>>>'.
error TS2322: Type 'number | undefined' is not assignable to type 'Key | null'.
error TS2322: Type 'number | undefined' is not assignable to type 'Width<string | number>'.
error TS2322: Type 'number | undefined' is not assignable to type 'Height<string | number>'.
youzan/vant
2 of 8 projects failed to build with the old tsc
packages/vant-cli/tsconfig.json
error TS2345: Argument of type '{ from: undefined; }' is not assignable to parameter of type 'ProcessOptions'.
error TS2322: Type 'number | undefined' is not assignable to type 'number'.
packages/vant-use/tsconfig.json
error TS2322: Type '(Window & typeof globalThis) | undefined' is not assignable to type 'ScrollElement | undefined'.
vadimdemedes/ink
1 of 2 projects failed to build with the old tsc
tsconfig.json
error TS2416: Property 'state' in type 'App' is not assignable to the same property in base type 'PureComponent<Props, State, any>'.
error TS2322: Type 'undefined' is not assignable to type 'string'.
error TS2345: Argument of type '{ activeFocusId: undefined; }' is not assignable to parameter of type 'State | ((prevState: Readonly<State>, props: Readonly<Props>) => State | Pick<State, "activeFocusId"> | null) | Pick<...> | null'.
error TS2345: Argument of type '(previousState: Readonly<State>) => { activeFocusId: string | undefined; focusables: Focusable[]; }' is not assignable to parameter of type 'State | ((prevState: Readonly<State>, props: Readonly<Props>) => State | Pick<State, "activeFocusId" | "focusables"> | null) | Pick<...> | null'.
error TS2322: Type '"red" | undefined' is not assignable to type 'LiteralUnion<BackgroundColor, string>'.
error TS2322: Type '"white" | undefined' is not assignable to type 'LiteralUnion<ForegroundColor, string>'.
error TS2322: Type 'undefined' is not assignable to type 'WriteStream'.
error TS2322: Type 'undefined' is not assignable to type 'ReadStream'.
error TS2322: Type '"wrap" | "end" | "middle" | "truncate-end" | "truncate" | "truncate-middle" | "truncate-start" | undefined' is not assignable to type '"wrap" | "end" | "middle" | "truncate-end" | "truncate" | "truncate-middle" | "truncate-start"'.
error TS2322: Type 'YogaNode | undefined' is not assignable to type 'YogaNode'.
error TS2322: Type 'undefined' is not assignable to type 'YogaNode'.
rough-stuff/rough
tsconfig.json
error TS2322: Type 'undefined' is not assignable to type 'Random'.
ionic-team/ionicons
tsconfig.json
error TS2322: Type 'undefined' is not assignable to type 'IntersectionObserver'.
error TS2322: Type 'string | undefined' is not assignable to type 'string'.
sindresorhus/refined-github
tsconfig.json
error TS2322: Type '{ id: "use the __filebasename variable"; description: any; screenshot: string | undefined; }' is not assignable to type 'void | FeatureMeta'.
error TS2322: Type 'string | undefined' is not assignable to type 'string'.
error TS2345: Argument of type '{ include: BooleanFunction[]; exclude: BooleanFunction[]; init: FeatureInit; deinit: VoidFunction | VoidFunction[] | undefined; additionalListeners: CallerFunction[]; onlyAdditionalListeners: boolean; }' is not assignable to parameter of type 'InternalRunConfig'.
error TS2345: Argument of type '{ hour: "numeric"; minute: "numeric"; weekday: "long" | undefined; }' is not assignable to parameter of type 'DateTimeFormatOptions'.
error TS2322: Type 'undefined' is not assignable to type 'JsonObject'.
error TS2345: Argument of type '{ method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | undefined; body: string | undefined; headers: { Authorization?: string; 'User-Agent': string; Accept: string; } | { Authorization?: string; ... 35 more ...; Accept: string; } | { ...; } | { ...; }; }' is not assignable to parameter of type 'RequestInit'.
Redocly/redoc
tsconfig.json
error TS2807: This syntax requires an imported helper named '__spreadArray' with 3 parameters, which is not compatible with the one in 'tslib'. Consider upgrading your version of 'tslib'.
tsconfig.lib.json
error TS2807: This syntax requires an imported helper named '__spreadArray' with 3 parameters, which is not compatible with the one in 'tslib'. Consider upgrading your version of 'tslib'.
flatpickr/flatpickr
src/tsconfig.json
error TS2345: Argument of type 'Window & typeof globalThis' is not assignable to parameter of type 'Element | Window | Document | (Element | Window | Document)[]'.
error TS2571: Object is of type 'unknown'.
error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'Error'.
error TS2322: Type 'undefined' is not assignable to type 'Date'.
error TS2322: Type 'undefined' is not assignable to type 'HTMLInputElement'.
error TS2322: Type '((date: string, format: string) => Date) | undefined' is not assignable to type '(date: string, format: string) => Date'.
error TS2322: Type '((date: Date, format: string, locale: Locale) => string) | undefined' is not assignable to type '(date: Date, format: string, locale: Locale) => string'.
error TS2322: Type 'Date | undefined' is not assignable to type 'Date'.
error TS2322: Type 'undefined' is not assignable to type 'Instance'.
error TS2322: Type 'undefined' is not assignable to type 'string'.
error TS2322: Type 'string | undefined' is not assignable to type 'string'.
error TS2322: Type 'undefined' is not assignable to type 'HTMLElement'.
tsconfig.declarations.json
error TS2322: Type 'undefined' is not assignable to type 'string'.
error TS2322: Type 'string | undefined' is not assignable to type 'string'.
error TS2322: Type 'undefined' is not assignable to type 'Instance'.
error TS2322: Type 'undefined' is not assignable to type 'HTMLElement'.
tsconfig.esm.json
error TS2345: Argument of type 'Window & typeof globalThis' is not assignable to parameter of type 'Element | Window | Document | (Element | Window | Document)[]'.
error TS2571: Object is of type 'unknown'.
error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'Error'.
error TS2322: Type 'undefined' is not assignable to type 'Date'.
error TS2322: Type 'undefined' is not assignable to type 'HTMLInputElement'.
error TS2322: Type '((date: string, format: string) => Date) | undefined' is not assignable to type '(date: string, format: string) => Date'.
error TS2322: Type '((date: Date, format: string, locale: Locale) => string) | undefined' is not assignable to type '(date: Date, format: string, locale: Locale) => string'.
error TS2322: Type 'Date | undefined' is not assignable to type 'Date'.
error TS2322: Type 'undefined' is not assignable to type 'Instance'.
error TS2322: Type 'undefined' is not assignable to type 'string'.
error TS2322: Type 'string | undefined' is not assignable to type 'string'.
error TS2322: Type 'undefined' is not assignable to type 'HTMLElement'.
tsconfig.json
error TS2345: Argument of type '{ onChange: undefined; }' is not assignable to parameter of type 'Partial<BaseOptions>'.
error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'string | Error'.
error TS2571: Object is of type 'unknown'.
error TS2322: Type 'undefined' is not assignable to type 'false | RollupCache'.
error TS2345: Argument of type 'Window & typeof globalThis' is not assignable to parameter of type 'Element | Window | Document | (Element | Window | Document)[]'.
error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'Error'.
error TS2322: Type 'undefined' is not assignable to type 'Date'.
error TS2322: Type 'undefined' is not assignable to type 'HTMLInputElement'.
error TS2322: Type '((date: string, format: string) => Date) | undefined' is not assignable to type '(date: string, format: string) => Date'.
error TS2322: Type '((date: Date, format: string, locale: Locale) => string) | undefined' is not assignable to type '(date: Date, format: string, locale: Locale) => string'.
error TS2322: Type 'Date | undefined' is not assignable to type 'Date'.
error TS2322: Type 'undefined' is not assignable to type 'Instance'.
error TS2322: Type 'undefined' is not assignable to type 'string'.
error TS2322: Type 'string | undefined' is not assignable to type 'string'.
error TS2322: Type 'undefined' is not assignable to type 'HTMLElement'.