Skip to content

[NewErrors] 4.2.0-dev.20201108 vs 4.0.5 #41445

Closed
@typescript-bot

Description

@typescript-bot

The following errors were reported by 4.2.0-dev.20201108, but not by 4.0.5

vscode

6 of 43 projects failed to build with the old tsc

test/smoke/tsconfig.json

hyper

1 of 2 projects failed to build with the old tsc

tsconfig.json

nativefier

tsconfig.json

  • error TS2794: Expected 1 arguments, but got 0. Did you forget to include 'void' in your type argument to 'Promise'?

rxjs

7 of 11 projects failed to build with the old tsc

src/tsconfig.cjs.spec.json

  • error TS2322: Type '(value: T | PromiseLike<T>) => void' is not assignable to type '(value?: T | PromiseLike<T> | undefined) => void'.

src/tsconfig.esm5.rollup.json

  • error TS2322: Type '(value: T | PromiseLike<T>) => void' is not assignable to type '(value?: T | PromiseLike<T> | undefined) => void'.

mobx

7 of 9 projects failed to build with the old tsc

packages/mobx/tsconfig.json

  • error TS2345: Argument of type '(value: unknown) => void' is not assignable to parameter of type 'Lambda'.
  • error TS2345: Argument of type '{ observableKind: "map"; debugObjectName: string; } & { object: ObservableMap<K, V>; name: K; type: "delete"; oldValue: V; }' is not assignable to parameter of type 'PureSpyEvent'.
  • error TS2345: Argument of type '{ observableKind: "map"; debugObjectName: string; } & { object: ObservableMap<K, V>; name: K; type: "update"; newValue: V; oldValue: V; }' is not assignable to parameter of type 'PureSpyEvent'.
  • error TS2345: Argument of type '{ observableKind: "map"; debugObjectName: string; } & { object: ObservableMap<K, V>; name: K; type: "add"; newValue: V; }' is not assignable to parameter of type 'PureSpyEvent'.

react-navigation

packages/bottom-tabs/tsconfig.json

packages/compat/tsconfig.json

packages/drawer/tsconfig.json

packages/material-bottom-tabs/tsconfig.json

packages/material-top-tabs/tsconfig.json

packages/stack/tsconfig.json

tsconfig.json

playwright

3 of 4 projects failed to build with the old tsc

src/install/tsconfig.json

terminus

14 of 17 projects failed to build with the old tsc

terminus-core/tsconfig.typings.json

terminus-terminal/tsconfig.typings.json

tools

tsconfig.json

fingerprintjs

tsconfig.json

redux-devtools

9 of 50 projects failed to build with the old tsc

packages/react-json-tree/test/tsconfig.json

packages/react-json-tree/tsconfig.json

packages/redux-devtools-inspector-monitor/demo/tsconfig.json

packages/redux-devtools-inspector-monitor/tsconfig.json

packages/redux-devtools-inspector-monitor-trace-tab/test/tsconfig.json

packages/redux-devtools-inspector-monitor-trace-tab/tsconfig.json

packages/redux-devtools-cli/test/tsconfig.json

face-api.js

tsconfig.es6.json

tsconfig.json

tsconfig.test.json

Tone.js

scripts/tsconfig.build.json

tsconfig.json

desktop

1 of 4 projects failed to build with the old tsc

tsconfig.json

  • error TS2322: Type '{ constructor?: Function; toString?: () => string; toLocaleString?: () => string; valueOf?: () => Object; hasOwnProperty?: (v: string | number | symbol) => boolean; isPrototypeOf?: (v: Object) => boolean; propertyIsEnumerable?: (v: string | ... 1 more ... | symbol) => boolean; TERM: string; }' is not assignable to type 'Object'.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions