-
Notifications
You must be signed in to change notification settings - Fork 12.8k
[NewErrors] 4.3.0-dev.20210228 vs 4.2.2 #43004
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
Comments
I think the Redux changes might have been caused by #42819. I think the hint for me is the The new "sufficiently overlaps" error is very confusing, but is expected fallout from #25330. I really wish we had discussed this at a design meeting since it's a potentially disruptive breaking change. In some of the examples above, we're seeing undesirable behavior due to |
@DanielRosenwasser I've tracked down the change that broke |
@DanielRosenwasser Wes and I spoke and recommend that we keep the assignability-target rule in place when the target has both string and numeric index signatures |
Thanks for investigating! Let me look into it quickly. |
The following errors were reported by 4.3.0-dev.20210228, but not by 4.2.2
cdr/code-server
9 of 47 projects failed to build with the old tsc
lib/vscode/extensions/html-language-features/server/tsconfig.json
error TS2367: This condition will always return 'true' since the types 'Promise<import("/mnt/ts_downloads/code-server/lib/vscode/extensions/node_modules/typescript/lib/typescript").LanguageService>' and 'false' have no overlap.
lib/vscode/extensions/typescript-language-features/tsconfig.json
error TS2367: This condition will always return 'true' since the types 'Promise<import("/mnt/ts_downloads/code-server/lib/vscode/extensions/typescript-language-features/src/typescriptService").ServerResponse.Response<protocol.Response>>' and 'false' have no overlap.
ReactiveX/rxjs
7 of 11 projects failed to build with the old tsc
src/tsconfig.cjs.spec.json
error TS2769: No overload matches this call.
src/tsconfig.esm5.rollup.json
error TS2769: No overload matches this call.
typeorm/typeorm
tsconfig.json
error TS2367: This condition will always return 'true' since the types 'Promise<any>' and 'false' have no overlap.
reduxjs/redux-devtools
17 of 51 projects failed to build with the old tsc
packages/redux-devtools/tsconfig.json
error TS2322: Type 'MonitorProps' is not assignable to type 'IntrinsicAttributes & Omit<any, "monitorState" | "nextActionId" | "actionsById" | "stagedActionIds" | "skippedActionIds" | "committedState" | "currentStateIndex" | "computedStates" | "isLocked" | "isPaused" | "dispatch">'.
error TS2322: Type 'MonitorProps & { store: LiftedStore<S, A, MonitorState>; }' is not assignable to type 'IntrinsicAttributes & Omit<any, "monitorState" | "nextActionId" | "actionsById" | "stagedActionIds" | "skippedActionIds" | "committedState" | "currentStateIndex" | "computedStates" | "isLocked" | "isPaused" | "dispatch">'.
The text was updated successfully, but these errors were encountered: