-
Notifications
You must be signed in to change notification settings - Fork 13.1k
Closed
Labels
BugA bug in TypeScriptA bug in TypeScriptFix AvailableA PR has been opened for this issueA PR has been opened for this issue
Milestone
Description
The following errors were reported by 4.2.0-dev.20201122, but not by 4.1.2
ant-design
tsconfig.json
error TS2774: This condition will always return true since the function is always defined. Did you mean to call it instead?
better-scroll
test-dts/tsconfig.json
error TS2774: This condition will always return true since the function is always defined. Did you mean to call it instead?
- file:///mnt/ts_downloads/better-scroll/node_modules/@better-scroll/shared-utils/src/lang.ts#L3
- packages/shared-utils/src/lang.ts#L3
tsconfig.json
error TS2774: This condition will always return true since the function is always defined. Did you mean to call it instead?
turbolinks
tsconfig.json
error TS2774: This condition will always return true since the function is always defined. Did you mean to call it instead?
redux-devtools
16 of 50 projects failed to build with the old tsc
packages/map2tree/test/tsconfig.json
error TS2774: This condition will always return true since the function is always defined. Did you mean to call it instead?
packages/map2tree/tsconfig.json
error TS2774: This condition will always return true since the function is always defined. Did you mean to call it instead?
packages/redux-devtools-instrument/tsconfig.json
error TS2774: This condition will always return true since the function is always defined. Did you mean to call it instead?
packages/redux-devtools-core/test/tsconfig.json
error TS2774: This condition will always return true since the function is always defined. Did you mean to call it instead?
packages/redux-devtools-core/tsconfig.json
error TS2774: This condition will always return true since the function is always defined. Did you mean to call it instead?
brain.js
1 of 2 projects failed to build with the old tsc
tsconfig.json
error TS2774: This condition will always return true since the function is always defined. Did you mean to call it instead?
redoc
tsconfig.json
error TS2774: This condition will always return true since the function is always defined. Did you mean to call it instead?
tsconfig.lib.json
error TS2774: This condition will always return true since the function is always defined. Did you mean to call it instead?
Metadata
Metadata
Assignees
Labels
BugA bug in TypeScriptA bug in TypeScriptFix AvailableA PR has been opened for this issueA PR has been opened for this issue