Repository navigation
[NewErrors] 4.4.0-dev.20210602 vs 4.3.2 #44427
Copy link
Copy link
Closed
Labels
InfrastructureIssue relates to TypeScript team infrastructureIssue relates to TypeScript team infrastructure
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
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'.
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
error TS2322: Type 'undefined' is not assignable to type 'VNodeCall | CallExpression | ObjectExpression | ArrayExpression | SimpleExpressionNode | ... 17 more ... | BlockStatement'.error TS2322: Type 'VNodeCall | CallExpression | ObjectExpression | ArrayExpression | SimpleExpressionNode | ... 18 more ... | undefined' is not assignable to type 'VNodeCall | CallExpression | ObjectExpression | ArrayExpression | SimpleExpressionNode | ... 17 more ... | TemplateChildNode[]'.error TS2322: Type 'undefined' is not assignable to type 'SourceMapGenerator'.error TS2322: Type 'string | undefined' is not assignable to type 'string'.error TS2345: Argument of type 'CompilerOptions' is not assignable to parameter of type 'ParserOptions | undefined'.error TS2345: Argument of type 'ParserOptions & TransformOptions & CodegenOptions & { prefixIdentifiers: boolean; nodeTransforms: NodeTransform[]; directiveTransforms: Record<...> & Record<...>; }' is not assignable to parameter of type 'TransformOptions'.error TS2322: Type 'SourceLocation | undefined' is not assignable to type 'SourceLocation'.error TS2322: Type 'CompilerCompatConfig | undefined' is not assignable to type 'CompilerCompatConfig'.error TS2322: Type 'DirectiveNode | AttributeNode | undefined' is not assignable to type 'DirectiveNode | AttributeNode'.error TS2322: Type 'ForParseResult | undefined' is not assignable to type 'ForParseResult'.error TS2345: Argument of type 'ParserOptions & TransformOptions & CodegenOptions & { nodeTransforms: NodeTransform[]; directiveTransforms: Record<...> & Record<...>; transformHoist: HoistTransform | null; }' is not assignable to parameter of type 'CompilerOptions | undefined'.error TS2322: Type '((rawText: string, asAttr: boolean) => string) | undefined' is not assignable to type '(rawText: string, asAttr: boolean) => string'.error TS2322: Type 'RawSourceMap | undefined' is not assignable to type 'RawSourceMap'.error TS2322: Type 'boolean | undefined' is not assignable to type 'boolean'.error TS2322: Type '{ inline: true; isTS: boolean; bindingMetadata: BindingMetadata; isNativeTag?: (tag: string) => boolean; isVoidTag?: (tag: string) => boolean; isPreTag?: (tag: string) => boolean; ... 27 more ...; runtimeGlobalName?: string; }' is not assignable to type 'CompilerOptions'.error TS2322: Type 'Statement[] | undefined' is not assignable to type 'Statement[]'.error TS2322: Type 'Promise<{ code: string; map: any; errors: Error[]; modules: Record<string, string> | undefined; rawResult: Result; dependencies: Set<string>; } | { code: string; map: undefined; errors: any[]; rawResult: undefined; dependencies: Set<...>; }>' is not assignable to type 'SFCStyleCompileResults | Promise<SFCStyleCompileResults>'.error TS2322: Type 'string | undefined' is not assignable to type 'string | null'.error TS2322: Type 'BindingMetadata | undefined' is not assignable to type 'BindingMetadata'.error TS2345: Argument of type '{ sourceType: "module"; plugins: ParserPlugin[] | undefined; }' is not assignable to parameter of type 'ParserOptions'.error TS2322: Type 'string | null | undefined' is not assignable to type 'string | null'.error TS2345: Argument of type '{ hoistStatic: false; nodeTransforms: NodeTransform[]; directiveTransforms: { bind: DirectiveTransform; model: DirectiveTransform; show: DirectiveTransform; on: DirectiveTransform; cloak: DirectiveTransform; once: DirectiveTransform; }; ... 30 more ...; runtimeGlobalName?: string; }' is not assignable to parameter of type 'TransformOptions'.error TS2345: Argument of type 'CompilerOptions' is not assignable to parameter of type 'TransformOptions'.error TS2345: Argument of type '{ nodeTransforms: NodeTransform[]; directiveTransforms: { [x: string]: DirectiveTransform | undefined; }; isNativeTag?: (tag: string) => boolean; isVoidTag?: (tag: string) => boolean; ... 29 more ...; runtimeGlobalName?: string; }' is not assignable to parameter of type 'TransformOptions'.error TS2322: Type 'Map<unknown, unknown> | Set<unknown> | undefined' is not assignable to type 'Map<any, any> | Set<any>'.error TS2769: No overload matches this call.error TS2322: Type 'undefined' is not assignable to type '(err: unknown, instance: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => void'.error TS2322: Type 'undefined' is not assignable to type '(msg: string, instance: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, trace: string) => void'.error TS2345: Argument of type '{ lazy: true; onTrack: ((event: DebuggerEvent) => void) | undefined; onTrigger: ((event: DebuggerEvent) => void) | undefined; scheduler: ((job: ReactiveEffect<any>) => void) | undefined; }' is not assignable to parameter of type 'ReactiveEffectOptions'.error TS2345: Argument of type '{ loader: () => Promise<Component<any, any, any, ComputedOptions, MethodOptions>>; loadingComponent: Component<any, any, any, ComputedOptions, MethodOptions> | undefined; errorComponent: Component<...> | undefined; delay: number | undefined; timeout: number | undefined; }' is not assignable to parameter of type 'AsyncComponentLoader<ComponentOptions<any, any, any, ComputedOptions, MethodOptions, any, any, any> | FunctionalComponent<any, any> | ComponentPublicInstanceConstructor<...>> | AsyncComponentOptions<...>'.error TS2322: Type '{ isCustomElement: ((tag: string) => boolean) | undefined; delimiters: [string, string] | undefined; } & RuntimeCompilerOptions' is not assignable to type 'CompilerOptions'.error TS2322: Type 'undefined' is not assignable to type 'PendingCallback'.error TS2322: Type '((e: DebuggerEvent) => void) | undefined' is not assignable to type '(event: DebuggerEvent) => void'.error TS2345: Argument of type '(string & ComponentOptionsBase<{}, any, any, ComputedOptions, MethodOptions, any, any, any, string, {}> & ThisType<...>) | ... 17 more ... | ({ ...; } & FunctionalComponent<...>)' is not assignable to parameter of type 'ConcreteComponent<{}, any, any, ComputedOptions, MethodOptions>'.error TS2322: Type 'undefined' is not assignable to type 'Set<string>'.error TS2322: Type 'TestNode | null | undefined' is not assignable to type 'TestNode | null'.error TS2345: Argument of type 'ParserOptions & TransformOptions & CodegenOptions' is not assignable to parameter of type 'CompilerOptions | undefined'.
tsconfig.json
error TS2345: Argument of type '{ isNativeTag?: (tag: string) => boolean; isVoidTag?: (tag: string) => boolean; isPreTag?: (tag: string) => boolean; isBuiltInComponent?: (((tag: string) => symbol | void) & ((tag: string) => symbol | void)) | undefined; ... 29 more ...; runtimeGlobalName?: string; }' is not assignable to parameter of type 'TransformOptions'.- packages/compiler-core/tests/transforms/hoistStatic.spec.ts#L26
- packages/compiler-core/tests/transforms/transformElement.spec.ts#L47
- packages/compiler-core/tests/transforms/transformExpressions.spec.ts#L21
- packages/compiler-core/tests/transforms/transformSlotOutlet.spec.ts#L18
- packages/compiler-core/tests/transforms/transformText.spec.ts#L20
- packages/compiler-core/tests/transforms/vBind.spec.ts#L20
- packages/compiler-core/tests/transforms/vFor.spec.ts#L29
- packages/compiler-core/tests/transforms/vIf.spec.ts#L36
- packages/compiler-core/tests/transforms/vModel.spec.ts#L24
- packages/compiler-core/tests/transforms/vOn.spec.ts#L19
- packages/compiler-core/tests/transforms/vOnce.spec.ts#L14
- packages/compiler-core/tests/transforms/vSlot.spec.ts#L35
- packages/compiler-dom/tests/transforms/transformStyle.spec.ts#L18
- packages/compiler-dom/tests/transforms/vHtml.spec.ts#L18
- packages/compiler-dom/tests/transforms/vModel.spec.ts#L20
- packages/compiler-dom/tests/transforms/vOn.spec.ts#L21
- packages/compiler-dom/tests/transforms/vShow.spec.ts#L13
- packages/compiler-dom/tests/transforms/vText.spec.ts#L18
error TS2345: Argument of type 'CompilerOptions' is not assignable to parameter of type 'ParserOptions | undefined'.- packages/compiler-core/tests/transforms/transformElement.spec.ts#L46
- packages/compiler-core/tests/transforms/vFor.spec.ts#L28
- packages/compiler-core/tests/transforms/vIf.spec.ts#L35
- packages/compiler-core/tests/transforms/vOn.spec.ts#L18
- packages/compiler-core/src/compile.ts#L83
- packages/compiler-ssr/src/index.ts#L46
error TS2345: Argument of type '{ isNativeTag?: (tag: string) => boolean; isVoidTag?: (tag: string) => boolean; isPreTag?: (tag: string) => boolean; isBuiltInComponent?: (((tag: string) => symbol | void) & ((tag: string) => symbol | void)) | undefined; ... 29 more ...; runtimeGlobalName?: string; }' is not assignable to parameter of type 'CompilerOptions'.error TS2345: Argument of type '{ whitespace: "preserve" | "condense" | undefined; }' is not assignable to parameter of type 'ParserOptions'.error TS2322: Type 'undefined' is not assignable to type 'VNodeCall | CallExpression | ObjectExpression | ArrayExpression | SimpleExpressionNode | ... 17 more ... | BlockStatement'.error TS2322: Type 'VNodeCall | CallExpression | ObjectExpression | ArrayExpression | SimpleExpressionNode | ... 18 more ... | undefined' is not assignable to type 'VNodeCall | CallExpression | ObjectExpression | ArrayExpression | SimpleExpressionNode | ... 17 more ... | TemplateChildNode[]'.error TS2322: Type 'undefined' is not assignable to type 'SourceMapGenerator'.error TS2322: Type 'string | undefined' is not assignable to type 'string'.- packages/compiler-core/src/codegen.ts#L165
- packages/compiler-sfc/tests/compileTemplate.spec.ts#L41
- packages/compiler-sfc/tests/compileTemplate.spec.ts#L56
- packages/compiler-sfc/tests/compileTemplate.spec.ts#L130
- packages/compiler-sfc/src/compileTemplate.ts#L280
- packages/compiler-sfc/src/parse.ts#L309
- packages/compiler-sfc/src/parse.ts#L311
- packages/runtime-core/src/compat/componentFunctional.ts#L57
- packages/runtime-core/src/directives.ts#L109
error TS2345: Argument of type 'ParserOptions & TransformOptions & CodegenOptions & { prefixIdentifiers: boolean; nodeTransforms: NodeTransform[]; directiveTransforms: Record<...> & Record<...>; }' is not assignable to parameter of type 'TransformOptions'.error TS2322: Type 'SourceLocation | undefined' is not assignable to type 'SourceLocation'.error TS2322: Type 'CompilerCompatConfig | undefined' is not assignable to type 'CompilerCompatConfig'.error TS2322: Type 'DirectiveNode | AttributeNode | undefined' is not assignable to type 'DirectiveNode | AttributeNode'.error TS2322: Type 'ForParseResult | undefined' is not assignable to type 'ForParseResult'.error TS2345: Argument of type 'ParserOptions & TransformOptions & CodegenOptions & { nodeTransforms: NodeTransform[]; directiveTransforms: Record<...> & Record<...>; transformHoist: HoistTransform | null; }' is not assignable to parameter of type 'CompilerOptions | undefined'.error TS2322: Type '((rawText: string, asAttr: boolean) => string) | undefined' is not assignable to type '(rawText: string, asAttr: boolean) => string'.error TS2322: Type 'RawSourceMap | undefined' is not assignable to type 'RawSourceMap'.error TS2322: Type 'boolean | undefined' is not assignable to type 'boolean'.error TS2322: Type '{ inline: true; isTS: boolean; bindingMetadata: BindingMetadata; isNativeTag?: (tag: string) => boolean; isVoidTag?: (tag: string) => boolean; isPreTag?: (tag: string) => boolean; ... 27 more ...; runtimeGlobalName?: string; }' is not assignable to type 'CompilerOptions'.error TS2322: Type 'Statement[] | undefined' is not assignable to type 'Statement[]'.error TS2322: Type 'Promise<{ code: string; map: any; errors: Error[]; modules: Record<string, string> | undefined; rawResult: Result; dependencies: Set<string>; } | { code: string; map: undefined; errors: any[]; rawResult: undefined; dependencies: Set<...>; }>' is not assignable to type 'SFCStyleCompileResults | Promise<SFCStyleCompileResults>'.error TS2322: Type 'string | undefined' is not assignable to type 'string | null'.error TS2322: Type 'BindingMetadata | undefined' is not assignable to type 'BindingMetadata'.error TS2345: Argument of type '{ sourceType: "module"; plugins: ParserPlugin[] | undefined; }' is not assignable to parameter of type 'ParserOptions'.error TS2322: Type 'string | null | undefined' is not assignable to type 'string | null'.error TS2345: Argument of type '{ hoistStatic: false; nodeTransforms: NodeTransform[]; directiveTransforms: { bind: DirectiveTransform; model: DirectiveTransform; show: DirectiveTransform; on: DirectiveTransform; cloak: DirectiveTransform; once: DirectiveTransform; }; ... 30 more ...; runtimeGlobalName?: string; }' is not assignable to parameter of type 'TransformOptions'.error TS2345: Argument of type 'CompilerOptions' is not assignable to parameter of type 'TransformOptions'.error TS2345: Argument of type '{ nodeTransforms: NodeTransform[]; directiveTransforms: { [x: string]: DirectiveTransform | undefined; }; isNativeTag?: (tag: string) => boolean; isVoidTag?: (tag: string) => boolean; ... 29 more ...; runtimeGlobalName?: string; }' is not assignable to parameter of type 'TransformOptions'.error TS2322: Type 'Map<unknown, unknown> | Set<unknown> | undefined' is not assignable to type 'Map<any, any> | Set<any>'.error TS2345: Argument of type '{ appear: true; onBeforeAppear: undefined; onAppear: undefined; onAfterAppear: undefined; onAppearCancelled: undefined; }' is not assignable to parameter of type 'BaseTransitionProps<RendererElement>'.error TS2345: Argument of type '{ mode: "default" | "in-out" | "out-in" | undefined; }' is not assignable to parameter of type 'BaseTransitionProps<RendererElement>'.error TS2769: No overload matches this call.error TS2345: Argument of type '{ key: undefined; }' is not assignable to parameter of type 'Data & VNodeProps'.error TS2322: Type 'undefined' is not assignable to type '(err: unknown, instance: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => void'.error TS2322: Type 'undefined' is not assignable to type '(msg: string, instance: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, trace: string) => void'.error TS2345: Argument of type '{ lazy: true; onTrack: ((event: DebuggerEvent) => void) | undefined; onTrigger: ((event: DebuggerEvent) => void) | undefined; scheduler: ((job: ReactiveEffect<any>) => void) | undefined; }' is not assignable to parameter of type 'ReactiveEffectOptions'.error TS2345: Argument of type '{ loader: () => Promise<Component<any, any, any, ComputedOptions, MethodOptions>>; loadingComponent: Component<any, any, any, ComputedOptions, MethodOptions> | undefined; errorComponent: Component<...> | undefined; delay: number | undefined; timeout: number | undefined; }' is not assignable to parameter of type 'AsyncComponentLoader<ComponentOptions<any, any, any, ComputedOptions, MethodOptions, any, any, any> | FunctionalComponent<any, any> | ComponentPublicInstanceConstructor<...>> | AsyncComponentOptions<...>'.error TS2322: Type '{ isCustomElement: ((tag: string) => boolean) | undefined; delimiters: [string, string] | undefined; } & RuntimeCompilerOptions' is not assignable to type 'CompilerOptions'.error TS2322: Type 'undefined' is not assignable to type 'PendingCallback'.error TS2322: Type '((e: DebuggerEvent) => void) | undefined' is not assignable to type '(event: DebuggerEvent) => void'.error TS2345: Argument of type '(string & ComponentOptionsBase<{}, any, any, ComputedOptions, MethodOptions, any, any, any, string, {}> & ThisType<...>) | ... 17 more ... | ({ ...; } & FunctionalComponent<...>)' is not assignable to parameter of type 'ConcreteComponent<{}, any, any, ComputedOptions, MethodOptions>'.error TS2322: Type 'undefined' is not assignable to type 'Set<string>'.error TS2322: Type 'TestNode | null | undefined' is not assignable to type 'TestNode | null'.error TS2345: Argument of type '{ sourceMap: true; onError: (err: CompilerError) => void; isNativeTag?: (tag: string) => boolean; isVoidTag?: (tag: string) => boolean; isPreTag?: (tag: string) => boolean; isBuiltInComponent?: (((tag: string) => symbol | void) & ((tag: string) => symbol | void)) | undefined; ... 27 more ...; runtimeGlobalName?: str...' is not assignable to parameter of type 'CompilerOptions'.error TS2345: Argument of type 'ParserOptions & TransformOptions & CodegenOptions' is not assignable to parameter of type 'CompilerOptions | undefined'.
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 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.- lib/gui/app/components/progress-button/progress-button.tsx#L115
- lib/gui/app/components/progress-button/progress-button.tsx#L120
- lib/gui/app/components/reduced-flashing-infos/reduced-flashing-infos.tsx#L45
- lib/gui/app/components/reduced-flashing-infos/reduced-flashing-infos.tsx#L52
- lib/gui/app/components/target-selector/target-selector-button.tsx#L148
- lib/gui/app/pages/main/Flash.tsx#L267
- lib/gui/app/pages/main/Flash.tsx#L284
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 TS2322: Type '{ path: string; displayName: string; description: string; size: number | undefined; SourceType: typeof sourceDestination.BlockDevice; drive: DrivelistDrive; }' is not assignable to type 'SourceMetadata'.error TS2322: Type 'number | undefined' is not assignable to type 'number'.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 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'.
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'.
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 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 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 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 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'.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
InfrastructureIssue relates to TypeScript team infrastructureIssue relates to TypeScript team infrastructure
Activity