Title: TypeScript 3.6.3 breaks support for my ts library. Is it backward uncompatible or you corrected something that didn't work before? · Issue #33409 · microsoft/TypeScript · GitHub
Open Graph Title: TypeScript 3.6.3 breaks support for my ts library. Is it backward uncompatible or you corrected something that didn't work before? · Issue #33409 · microsoft/TypeScript
X Title: TypeScript 3.6.3 breaks support for my ts library. Is it backward uncompatible or you corrected something that didn't work before? · Issue #33409 · microsoft/TypeScript
Description: TypeScript Version: 3.6.2 Search Terms: type instantiation to deepl Code type Func
= (...args: P) => R; type AnyFunc = Func Open Graph Description: TypeScript Version: 3.6.2 Search Terms: type instantiation to deepl Code type Func = (...args: P) => R; type AnyFunc = Func X Description: TypeScript Version: 3.6.2 Search Terms: type instantiation to deepl Code type Func<P extends any[], R> = (...args: P) => R; type AnyFunc = Func<any, any>; type IsType<M, T, Z, L&g...
Opengraph URL: https://github.com/microsoft/TypeScript/issues/33409
X: @github
Domain: github.com
= (...args: P) => R; type AnyFunc = Func Links:
Viewport: width=device-width
Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"TypeScript 3.6.3 breaks support for my ts library. Is it backward uncompatible or you corrected something that didn't work before?","articleBody":"\r\n**TypeScript Version:** 3.6.2\r\n\r\n**Search Terms:**\r\ntype instantiation to deepl\r\n\r\n**Code**\r\n\r\n```ts\r\n\r\ntype Func\u003cP extends any[], R> = (...args: P) => R;\r\ntype AnyFunc = Func\u003cany, any>;\r\n\r\ntype IsType\u003cM, T, Z, L> = T extends M ? Z : L;\r\ntype IsScalar\u003cT, Z, L> = IsType\u003cstring | boolean | number, T, Z, L>;\r\n\r\ntype WithTypeNameValue\u003cT> = T & {\r\n __typename?: true;\r\n};\r\n\r\ntype AliasType\u003cT> = WithTypeNameValue\u003cT> & {\r\n __alias?: Record\u003cstring, WithTypeNameValue\u003cT>>;\r\n};\r\n\r\nexport type AliasedReturnType\u003cT> = {\r\n [P in keyof T]: T[P];\r\n } &\r\n Record\u003c\r\n string,\r\n {\r\n [P in keyof T]: T[P];\r\n }\r\n >;\r\n\r\ntype ArgsType\u003cF extends AnyFunc> = F extends Func\u003cinfer P, any> ? P : never;\r\ntype OfType\u003cT> = T extends Array\u003cinfer R> ? R : T;\r\ntype FirstArgument\u003cF extends AnyFunc> = OfType\u003cArgsType\u003cF>>;\r\n\r\ninterface GraphQLResponse {\r\n data?: Record\u003cstring, any>;\r\n errors?: Array\u003c{\r\n message: string;\r\n }>;\r\n}\r\n\r\nexport type State\u003cT> = {\r\n [P in keyof T]?: T[P] extends (Array\u003cinfer R> | undefined)\r\n ? Array\u003cAliasedReturnType\u003cState\u003cR>>>\r\n : T[P] extends AnyFunc\r\n ? AliasedReturnType\u003cState\u003cReturnType\u003cT[P]>>>\r\n : IsScalar\u003cT[P], T[P], AliasedReturnType\u003cState\u003cT[P]>>>;\r\n};\r\n\r\nexport type PlainObject\u003cT> = {\r\n [P in keyof T]?: T[P] extends (Array\u003cinfer R> | undefined)\r\n ? Array\u003cPlainObject\u003cR>>\r\n : T[P] extends AnyFunc\r\n ? PlainObject\u003cReturnType\u003cT[P]>>\r\n : IsScalar\u003cT[P], T[P], PlainObject\u003cT[P]>>;\r\n};\r\n\r\ntype ResolveValue\u003cT> = T extends Array\u003cinfer R>\r\n ? SelectionSet\u003cR>\r\n : T extends AnyFunc\r\n ? IsScalar\u003c\r\n ReturnType\u003cT>,\r\n [FirstArgument\u003cT>],\r\n [FirstArgument\u003cT>, SelectionSet\u003cOfType\u003cReturnType\u003cT>>>]\r\n >\r\n : IsScalar\u003cT, T extends undefined ? undefined : true, SelectionSet\u003cT>>;\r\n\r\nexport type SelectionSet\u003cT> = IsScalar\u003c\r\n T, T extends undefined ? undefined : true\r\n, AliasType\u003c\r\n {\r\n [P in keyof T]?: ResolveValue\u003cT[P]>;\r\n }\r\n >>;\r\n\r\ntype GraphQLReturner\u003cT> = T extends Array\u003cinfer R> ? SelectionSet\u003cR> : SelectionSet\u003cT>;\r\n\r\ntype OperationToGraphQL\u003cV,T> = (o: GraphQLReturner\u003cV>) => Promise\u003cAliasedReturnType\u003cState\u003cT>>>;\r\n\r\ntype ResolveApiField\u003cT> = T extends Array\u003cinfer R>\r\n ? IsScalar\u003cR, R, State\u003cR>>\r\n : T extends AnyFunc\r\n ? IsScalar\u003cOfType\u003cReturnType\u003cT>>, T, State\u003cOfType\u003cReturnType\u003cT>>>>\r\n : IsScalar\u003cT, T, State\u003cT>>;\r\n\r\ntype ApiFieldToGraphQL\u003cV,T> = (o: ResolveValue\u003cV>) => Promise\u003cResolveApiField\u003cT>>;\r\n\r\ntype fetchOptions = ArgsType\u003ctypeof fetch>;\r\n\r\nexport type PageInfo = {\r\n\t__typename?: \"PageInfo\",\r\n\tlast?:string,\r\n\tlimit?:number,\r\n\tnext?:boolean\r\n}\r\nexport type Project = {\r\n\tsources:(props:{\tlast?:string,\tlimit?:number}) => FakerSourceConnection,\r\n}\r\n\r\nexport type FakerSourceConnection = {\r\n\t__typename?: \"FakerSourceConnection\",\r\n\tpageInfo:PageInfo,\r\n\tsources?:FakerSource[]\r\n}\r\n\r\nexport type FakerSource = {\r\n\t__typename?: \"FakerSource\",\r\n\tchecksum?:string,\r\n\tcontents?:string,\r\n\tfilename?:string,\r\n\tgetUrl?:string\r\n}\r\nconst project:State\u003cProject>\r\nconst project: AliasedReturnType\u003cState\u003cProject>>\r\n\r\nproject.sources!.sources!.length > 0\r\n```\r\nLast line breaks\r\n**Expected behavior:**\r\n\r\nNothing happens in ts \u003c3.6\r\n\r\n**Actual behavior:**\r\ngetting error:\r\n`Type instantiation is excessively deep and possibly infinite.`\r\nMoreover I am getting this error in VSCode. I know this is a design-limitation and understood it already. However it works for me with previous versions of TS which had that limitation implemented before 3.5. \r\n\r\nHere is a link to my library for you to better understand whats going on.\r\nhttps://github.com/graphql-editor/graphql-zeus\r\n\r\n\r\n**Playground Link:** \r\n3.6 not available in playground\r\n\r\n","author":{"url":"https://github.com/aexol","@type":"Person","name":"aexol"},"datePublished":"2019-09-13T08:37:27Z","url":"https://github.com/microsoft/TypeScript/issues/33409"}
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:8c1a8688-6d5e-7a86-df13-df8eb984f3e8 current-catalog-service-hash 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 request-id B75E:2BE220:25622D0:31E5942:6B01A41D html-safe-nonce 7e5ab083f3fa837fa2a7b363fa3bb9a2bc2ae9e6410e1f5d1a260e46fd6d38e3 visitor-payload eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNzVFOjJCRTIyMDoyNTYyMkQwOjMxRTU5NDI6NkIwMUE0MUQiLCJ2aXNpdG9yX2lkIjoiMzEwOTg2NDQyMzU3ODI0ODIyMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 visitor-hmac 56d89dba16a424352c88d5a43e3b9fc9f1931a47ec10efa880d7519ebd3f7077 hovercard-subject-tag issue:493203141 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/33409/issue_layout twitter:image https://opengraph.githubassets.com/f7352ca63c499d1f9e66f26d4b3c7962b2a20996bb634ae1feae7f9be6291f61/microsoft/TypeScript/issues/33409 twitter:card summary_large_image og:image https://opengraph.githubassets.com/f7352ca63c499d1f9e66f26d4b3c7962b2a20996bb634ae1feae7f9be6291f61/microsoft/TypeScript/issues/33409 og:image:alt TypeScript Version: 3.6.2 Search Terms: type instantiation to deepl Code type Func og:image:width 1200 og:image:height 600 og:site_name GitHub og:type object og:author:username aexol 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
URLs of crawlers that visited me.