Title: [NewErrors] 4.5.0-dev.20211017 vs 4.4.4 · Issue #46404 · microsoft/TypeScript · GitHub
Open Graph Title: [NewErrors] 4.5.0-dev.20211017 vs 4.4.4 · Issue #46404 · microsoft/TypeScript
X Title: [NewErrors] 4.5.0-dev.20211017 vs 4.4.4 · Issue #46404 · microsoft/TypeScript
Description: The following errors were reported by 4.5.0-dev.20211017, but not by 4.4.4 typeorm/typeorm tsconfig.json error TS2548: Type '{ [x: string]: any; }' is not an array type or does not have a '[Symbol.iterator]()' method that returns an iter...
Open Graph Description: The following errors were reported by 4.5.0-dev.20211017, but not by 4.4.4 typeorm/typeorm tsconfig.json error TS2548: Type '{ [x: string]: any; }' is not an array type or does not have a '[Symbol....
X Description: The following errors were reported by 4.5.0-dev.20211017, but not by 4.4.4 typeorm/typeorm tsconfig.json error TS2548: Type '{ [x: string]: any; }' is not an array type or does not have a &...
Opengraph URL: https://github.com/microsoft/TypeScript/issues/46404
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[NewErrors] 4.5.0-dev.20211017 vs 4.4.4","articleBody":"The following errors were reported by 4.5.0-dev.20211017, but not by 4.4.4\n\n# [typeorm/typeorm](https://github.com/typeorm/typeorm)\n### [tsconfig.json](https://github.com/typeorm/typeorm/blob/861573377bb33b73232399c21b1b3a5c07b58036/tsconfig.json)\n - `error TS2548: Type '{ [x: string]: any; }' is not an array type or does not have a '[Symbol.iterator]()' method that returns an iterator.`\n - [sample/sample25-insert-from-inverse-side/app.ts#L48](https://github.com/typeorm/typeorm/blob/861573377bb33b73232399c21b1b3a5c07b58036/sample/sample25-insert-from-inverse-side/app.ts#L48)\n - [src/entity-manager/MongoEntityManager.ts#L118](https://github.com/typeorm/typeorm/blob/861573377bb33b73232399c21b1b3a5c07b58036/src/entity-manager/MongoEntityManager.ts#L118)\n - `error TS2321: Excessive stack depth comparing types 'FindConditions\u003cany>' and 'FindConditions\u003cEntity>'.`\n - [src/repository/RepositoryFactory.ts#L39](https://github.com/typeorm/typeorm/blob/861573377bb33b73232399c21b1b3a5c07b58036/src/repository/RepositoryFactory.ts#L39)\n# [react-hook-form/react-hook-form](https://github.com/react-hook-form/react-hook-form)\n**2 of 3 projects failed to build with the old tsc**\n### [tsconfig.json](https://github.com/react-hook-form/react-hook-form/blob/6a40c7d27f9177f77d741fe67c4190e70ed51bf6/tsconfig.json)\n - `error TS2589: Type instantiation is excessively deep and possibly infinite.`\n - [src/useController.ts#L49](https://github.com/react-hook-form/react-hook-form/blob/6a40c7d27f9177f77d741fe67c4190e70ed51bf6/src/useController.ts#L49)\n# [statelyai/xstate](https://github.com/statelyai/xstate)\n**5 of 17 projects failed to build with the old tsc**\n### [examples/template-svelte-ts/tsconfig.json](https://github.com/statelyai/xstate/blob/09c91d5e195bda126bad27fc43e86a092e1c4251/examples/template-svelte-ts/tsconfig.json)\n - `error TS2307: Cannot find module './App.svelte' or its corresponding type declarations.`\n - [examples/template-svelte-ts/src/main.ts#L1](https://github.com/statelyai/xstate/blob/09c91d5e195bda126bad27fc43e86a092e1c4251/examples/template-svelte-ts/src/main.ts#L1)\n### [examples/todo-mvc-svelte/tsconfig.json](https://github.com/statelyai/xstate/blob/09c91d5e195bda126bad27fc43e86a092e1c4251/examples/todo-mvc-svelte/tsconfig.json)\n - `error TS2307: Cannot find module './App.svelte' or its corresponding type declarations.`\n - [examples/todo-mvc-svelte/src/main.ts#L1](https://github.com/statelyai/xstate/blob/09c91d5e195bda126bad27fc43e86a092e1c4251/examples/todo-mvc-svelte/src/main.ts#L1)\n### [packages/xstate-inspect/tsconfig.json](https://github.com/statelyai/xstate/blob/09c91d5e195bda126bad27fc43e86a092e1c4251/packages/xstate-inspect/tsconfig.json)\n - `error TS2344: Type 'TSchema[\"states\"][K]' does not satisfy the constraint 'Required\u003cPick\u003cStateSchema\u003cany>, \"states\">>'.`\n - [packages/core/src/types.ts#L170](https://github.com/statelyai/xstate/blob/09c91d5e195bda126bad27fc43e86a092e1c4251/packages/core/src/types.ts#L170) in [packages/core/tsconfig.json](https://github.com/statelyai/xstate/blob/09c91d5e195bda126bad27fc43e86a092e1c4251/packages/core/tsconfig.json)\n### [packages/xstate-test/tsconfig.json](https://github.com/statelyai/xstate/blob/09c91d5e195bda126bad27fc43e86a092e1c4251/packages/xstate-test/tsconfig.json)\n - `error TS2344: Type 'TSchema[\"states\"][K]' does not satisfy the constraint 'Required\u003cPick\u003cStateSchema\u003cany>, \"states\">>'.`\n - [packages/core/src/types.ts#L170](https://github.com/statelyai/xstate/blob/09c91d5e195bda126bad27fc43e86a092e1c4251/packages/core/src/types.ts#L170) in [packages/core/tsconfig.json](https://github.com/statelyai/xstate/blob/09c91d5e195bda126bad27fc43e86a092e1c4251/packages/core/tsconfig.json)\n","author":{"url":"https://github.com/typescript-bot","@type":"Person","name":"typescript-bot"},"datePublished":"2021-10-17T21:04:39Z","url":"https://github.com/microsoft/TypeScript/issues/46404"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:196ab7a0-1918-04b1-e2ea-ced5d3d1639c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DB4E:FC5BE:1A449FA:22D5163:6B0154D2 |
| html-safe-nonce | bdeb9a218bc2fee66bed886d43e3104f753c770c1aa6cb3ddc67cf00028e064b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQjRFOkZDNUJFOjFBNDQ5RkE6MjJENTE2Mzo2QjAxNTREMiIsInZpc2l0b3JfaWQiOiI4NDczNTYzMTg1MDU0NTY5NjgyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | cba4120b6fff12ec94c1473aefcf10830568d4e8f096a67f154fb44eee01fe0f |
| hovercard-subject-tag | issue:1028437281 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/microsoft/TypeScript/46404/issue_layout |
| twitter:image | https://opengraph.githubassets.com/457268f6ad3999fdbb9a05093b7dcf4a652c73c6da7a7364f1dcbfa8adebb240/microsoft/TypeScript/issues/46404 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/457268f6ad3999fdbb9a05093b7dcf4a652c73c6da7a7364f1dcbfa8adebb240/microsoft/TypeScript/issues/46404 |
| og:image:alt | The following errors were reported by 4.5.0-dev.20211017, but not by 4.4.4 typeorm/typeorm tsconfig.json error TS2548: Type '{ [x: string]: any; }' is not an array type or does not have a '[Symbol.... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | typescript-bot |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/microsoft/TypeScript git https://github.com/microsoft/TypeScript.git |
| octolytics-dimension-user_id | 6154722 |
| octolytics-dimension-user_login | microsoft |
| octolytics-dimension-repository_id | 20929025 |
| octolytics-dimension-repository_nwo | microsoft/TypeScript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 20929025 |
| octolytics-dimension-repository_network_root_nwo | microsoft/TypeScript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width