Closed
Description
The following errors were reported by 4.1.0-dev.20201011, but not by 4.0.3
vscode
3 of 43 projects failed to build with the old tsc
test/smoke/tsconfig.json
error TS2794: Expected 1 arguments, but got 0. Did you forget to include 'void' in your type argument to 'Promise'?
puppeteer
4 of 8 projects failed to build with the old tsc
scripts/tsconfig.json
error TS2322: Type '(value: boolean | PromiseLike<boolean>) => void' is not assignable to type '() => void'.
tsconfig.json
error TS2322: Type '(value: boolean | PromiseLike<boolean>) => void' is not assignable to type '() => void'.
src/tsconfig.cjs.json
error TS2322: Type '(value: boolean | PromiseLike<boolean>) => void' is not assignable to type '() => void'.
src/tsconfig.esm.json
error TS2322: Type '(value: boolean | PromiseLike<boolean>) => void' is not assignable to type '() => void'.
hyper
1 of 2 projects failed to build with the old tsc
tsconfig.json
error TS2794: Expected 1 arguments, but got 0. Did you forget to include 'void' in your type argument to 'Promise'?
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 TS2769: No overload matches this call.
error TS2322: Type 'Observable<unknown>' is not assignable to type 'Observable<T>'.
error TS2345: Argument of type 'Observable<unknown>' is not assignable to parameter of type 'Observable<T>'.
error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'T | undefined'.
error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'ObservedValueOf<O>'.
error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'O'.
error TS2322: Type 'Observable<unknown>' is not assignable to type 'Observable<ObservedValueOf<O>>'.
error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'R'.
error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'R | undefined'.
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 TS2769: No overload matches this call.
error TS2322: Type 'Observable<unknown>' is not assignable to type 'Observable<T>'.
error TS2345: Argument of type 'Observable<unknown>' is not assignable to parameter of type 'Observable<T>'.
error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'T | undefined'.
error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'ObservedValueOf<O>'.
error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'O'.
error TS2322: Type 'Observable<unknown>' is not assignable to type 'Observable<ObservedValueOf<O>>'.
error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'R'.
error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'R | undefined'.
error TS2322: Type '(value: T | PromiseLike<T>) => void' is not assignable to type '(value?: T | PromiseLike<T> | undefined) => void'.
react-navigation
packages/bottom-tabs/tsconfig.json
error TS2794: Expected 1 arguments, but got 0. Did you forget to include 'void' in your type argument to 'Promise'?
packages/compat/tsconfig.json
error TS2794: Expected 1 arguments, but got 0. Did you forget to include 'void' in your type argument to 'Promise'?
packages/drawer/tsconfig.json
error TS2794: Expected 1 arguments, but got 0. Did you forget to include 'void' in your type argument to 'Promise'?
packages/material-bottom-tabs/tsconfig.json
error TS2794: Expected 1 arguments, but got 0. Did you forget to include 'void' in your type argument to 'Promise'?
packages/material-top-tabs/tsconfig.json
error TS2794: Expected 1 arguments, but got 0. Did you forget to include 'void' in your type argument to 'Promise'?
packages/stack/tsconfig.json
error TS2794: Expected 1 arguments, but got 0. Did you forget to include 'void' in your type argument to 'Promise'?
tsconfig.json
error TS2794: Expected 1 arguments, but got 0. Did you forget to include 'void' in your type argument to 'Promise'?
playwright
3 of 4 projects failed to build with the old tsc
src/install/tsconfig.json
error TS2322: Type '(value: unknown) => void' is not assignable to type '() => void'.
terminus
14 of 17 projects failed to build with the old tsc
terminus-core/tsconfig.typings.json
error TS1243: 'async' modifier cannot be used with 'abstract' modifier.
terminus-terminal/tsconfig.typings.json
error TS1243: 'async' modifier cannot be used with 'abstract' modifier.
- terminus-terminal/src/api/colorSchemeProvider.ts#L7
- terminus-terminal/src/api/contextMenuProvider.ts#L10
- terminus-terminal/src/api/shellProvider.ts#L7
- terminus-terminal/src/services/sessions.service.ts#L88
- terminus-terminal/src/services/sessions.service.ts#L89
- terminus-terminal/src/services/sessions.service.ts#L90
error TS2794: Expected 1 arguments, but got 0. Did you forget to include 'void' in your type argument to 'Promise'?
rome
tsconfig.json
error TS2794: Expected 1 arguments, but got 0. Did you forget to include 'void' in your type argument to 'Promise'?
error TS2345: Argument of type '(value: unknown) => void' is not assignable to parameter of type '() => void'.
redux-devtools
9 of 45 projects failed to build with the old tsc
packages/redux-devtools-inspector-monitor-trace-tab/test/tsconfig.json
error TS2322: Type 'unknown' is not assignable to type 'boolean | undefined'.
error TS2345: Argument of type '(value: unknown) => void' is not assignable to parameter of type '() => void'.
- packages/redux-devtools-inspector-monitor-trace-tab/test/StackTraceTab.spec.tsx#L38
- packages/redux-devtools-inspector-monitor-trace-tab/test/StackTraceTab.spec.tsx#L47
- packages/redux-devtools-inspector-monitor-trace-tab/test/StackTraceTab.spec.tsx#L56
- packages/redux-devtools-inspector-monitor-trace-tab/test/StackTraceTab.spec.tsx#L65
packages/redux-devtools-inspector-monitor-trace-tab/tsconfig.json
error TS2322: Type 'unknown' is not assignable to type 'boolean | undefined'.
graphiql
3 of 8 projects failed to build with the old tsc
examples/monaco-graphql-webpack/tsconfig.json
error TS2614: Module '"../node_modules/monaco-graphql/dist"' has no exported member 'api'. Did you mean to use 'import api from "../node_modules/monaco-graphql/dist"' instead?
face-api.js
tsconfig.es6.json
error TS2794: Expected 1 arguments, but got 0. Did you forget to include 'void' in your type argument to 'Promise'?
error TS2345: Argument of type '{ detection: FaceDetection; } | undefined' is not assignable to parameter of type '{ detection: FaceDetection; } | PromiseLike<{ detection: FaceDetection; }>'.
error TS2349: This expression is not callable.
error TS7006: Parameter 'obj' implicitly has an 'any' type.
tsconfig.json
error TS2794: Expected 1 arguments, but got 0. Did you forget to include 'void' in your type argument to 'Promise'?
error TS2345: Argument of type '{ detection: FaceDetection; } | undefined' is not assignable to parameter of type '{ detection: FaceDetection; } | PromiseLike<{ detection: FaceDetection; }>'.
error TS2349: This expression is not callable.
error TS7006: Parameter 'obj' implicitly has an 'any' type.
tsconfig.test.json
error TS2794: Expected 1 arguments, but got 0. Did you forget to include 'void' in your type argument to 'Promise'?
error TS2345: Argument of type '{ detection: FaceDetection; } | undefined' is not assignable to parameter of type '{ detection: FaceDetection; } | PromiseLike<{ detection: FaceDetection; }>'.
error TS2349: This expression is not callable.
error TS7006: Parameter 'obj' implicitly has an 'any' type.
Tone.js
scripts/tsconfig.build.json
error TS2794: Expected 1 arguments, but got 0. Did you forget to include 'void' in your type argument to 'Promise'?
error TS1243: 'async' modifier cannot be used with 'abstract' modifier.
tsconfig.json
error TS2794: Expected 1 arguments, but got 0. Did you forget to include 'void' in your type argument to 'Promise'?
error TS1243: 'async' modifier cannot be used with 'abstract' modifier.