Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[NewErrors] 4.2.0-dev.20201122 vs 4.1.2 #41640

Closed
typescript-bot opened this issue Nov 22, 2020 · 2 comments · Fixed by #42626
Closed

[NewErrors] 4.2.0-dev.20201122 vs 4.1.2 #41640

typescript-bot opened this issue Nov 22, 2020 · 2 comments · Fixed by #42626
Assignees
Labels
Bug A bug in TypeScript Fix Available A PR has been opened for this issue

Comments

@typescript-bot
Copy link
Collaborator

The following errors were reported by 4.2.0-dev.20201122, but not by 4.1.2

ant-design

tsconfig.json

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?

tsconfig.json

turbolinks

tsconfig.json

redux-devtools

16 of 50 projects failed to build with the old tsc

packages/map2tree/test/tsconfig.json

packages/map2tree/tsconfig.json

packages/redux-devtools-instrument/tsconfig.json

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

packages/redux-devtools-core/tsconfig.json

brain.js

1 of 2 projects failed to build with the old tsc

tsconfig.json

redoc

tsconfig.json

tsconfig.lib.json

@RyanCavanaugh RyanCavanaugh added the Bug A bug in TypeScript label Dec 3, 2020
@RyanCavanaugh RyanCavanaugh added this to the TypeScript 4.2.0 milestone Dec 3, 2020
@sandersn
Copy link
Member

sandersn commented Feb 3, 2021

  • ant-design (1) is actually feature testing the DOM

  • ant-design (2) no longer repros

  • brain.js no longer repros

  • redoc no longer repros (and is actually feature testing)

  • ant-design (3): agree, there shouldn't be an error when a cast is involved

  • redux-devtools: same

@typescript-bot typescript-bot added the Fix Available A PR has been opened for this issue label Feb 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug A bug in TypeScript Fix Available A PR has been opened for this issue
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants