Title: Type inference regression (regression) · Issue #37383 · microsoft/TypeScript · GitHub
Open Graph Title: Type inference regression (regression) · Issue #37383 · microsoft/TypeScript
X Title: Type inference regression (regression) · Issue #37383 · microsoft/TypeScript
Description: TypeScript Version: 3.0.0-dev.20200312 Search Terms: Code export interface Supervisor Open Graph Description: TypeScript Version: 3.0.0-dev.20200312 Search Terms: Code export interface Supervisor X Description: TypeScript Version: 3.0.0-dev.20200312 Search Terms: Code export interface Supervisor<N extends string, P = undefined, R = P, S = undefined> { constructor: typeof Supervisor; } export abstrac...
Opengraph URL: https://github.com/microsoft/TypeScript/issues/37383
X: @github
Domain: github.com
Links:
Viewport: width=device-width
Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Type inference regression (regression)","articleBody":"\u003c!-- 🚨 STOP 🚨 𝗦𝗧𝗢𝗣 🚨 𝑺𝑻𝑶𝑷 🚨 -->\r\n\u003c!--\r\nHalf of all issues filed here are duplicates, answered in the FAQ, or not appropriate for the bug tracker.\r\n\r\nPlease help us by doing the following steps before logging an issue:\r\n * Search: https://github.com/Microsoft/TypeScript/search?type=Issues\r\n * Read the CONTRIBUTING guidelines: https://github.com/Microsoft/TypeScript/blob/master/CONTRIBUTING.md\r\n * Read the FAQ: https://github.com/Microsoft/TypeScript/wiki/FAQ\r\n-->\r\n\r\n\u003c!-- If you have a QUESTION:\r\n THIS IS NOT A FORUM FOR QUESTIONS.\r\n Ask questions at http://stackoverflow.com/questions/tagged/typescript\r\n or https://gitter.im/Microsoft/TypeScript\r\n-->\r\n\r\n\u003c!-- If you have a SUGGESTION:\r\n Most suggestion reports are duplicates, please search extra hard before logging a new suggestion.\r\n See https://github.com/Microsoft/TypeScript-wiki/blob/master/Writing-Good-Design-Proposals.md\r\n-->\r\n\r\n\u003c!-- If you have a BUG:\r\n Please fill in the *entire* template below.\r\n-->\r\n\r\n\u003c!-- Please try to reproduce the issue with `typescript@next`. It may have already been fixed. -->\r\n**TypeScript Version:** 3.0.0-dev.20200312\r\n\r\n\u003c!-- Search terms you tried before logging this (so others can find this issue more easily) -->\r\n**Search Terms:** \r\n\r\n**Code**\r\n\r\n```ts\r\nexport interface Supervisor\u003cN extends string, P = undefined, R = P, S = undefined> {\r\n constructor: typeof Supervisor;\r\n}\r\nexport abstract class Supervisor\u003cN extends string, P = undefined, R = P, S = undefined> {\r\n constructor() {\r\n if (this.constructor === Supervisor) this.id;\r\n }\r\n public id = 0;\r\n public abstract call(name: N | ('' extends N ? undefined | ((names: Iterable\u003cN>) => Iterable\u003cN>) : never), param: P, timeout?: number): Promise\u003cR>;\r\n}\r\n```\r\n\r\n**Expected behavior:**\r\npass\r\n**Actual behavior:**\r\nProperty 'id' does not exist on type 'never'.(2339)\r\n**Playground Link:** http://www.typescriptlang.org/play/index.html?ts=3.9.0-dev.20200312&ssl=1&ssc=1&pln=10&pc=2#code/KYDwDg9gTgLgBASwHY2FAZgQwMbDgZQFcw0A3BAZ2gB4A5OUVJAEwrgpimQHMAaOAApwAvHEItg6ZMGb8ASiMH98i8c0nTmAPjgBvAFBw42CEg5RC2GNABccGAE8SEdAWJlK0ANz6AvvtBIWDhMACNzHHhsABtMCjYiEihyKig6BhAmVnZOHn4hUTUNJBl5RQFlVQkpEu09Q2NTc0trKAAKAEp6oyMEVzaYAAtKADoTM04W6BFhUUSPVK6h0YRmHyN-IzBCUOiEbERmRQAGdbht3f2Q8M5I40xo6LakTABbYDt6AB84NoByP4ZLJsegAfjE1U0cB+bWeb2AFDsAElUFAwtFgHQtF1hDoUWh0ZjaNi4HYSqQ0B1+GBMGjXnYKvYEO8IIQYKCyYRXqFKQyoBBXpRMXItD5fEA\r\n\r\n**Related Issues:**\r\n","author":{"url":"https://github.com/falsandtru","@type":"Person","name":"falsandtru"},"datePublished":"2020-03-13T17:58:24Z","url":"https://github.com/microsoft/TypeScript/issues/37383"}
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:c83f6355-df3b-659a-6af7-d1b434a5bb9a current-catalog-service-hash 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 request-id C662:95C88:BF61A8:FEBBC9:6B00F253 html-safe-nonce a8179b1af6a8977a2d3604e7aff7688032bb8ae1f34b9b6e703bcfcb653e9fce visitor-payload eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNjYyOjk1Qzg4OkJGNjFBODpGRUJCQzk6NkIwMEYyNTMiLCJ2aXNpdG9yX2lkIjoiNDQ4OTEwMDYwMTI1ODQ3MjAxOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 visitor-hmac 1be12d04dcc2365c3100d9533dc9bf5740adc39cbfe9f8c0fca4464a7de821a3 hovercard-subject-tag issue:580757905 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/37383/issue_layout twitter:image https://opengraph.githubassets.com/81a4339f7d2a7d45a150a08f36323133d1044a2888cee5a1d3e0762de7c1fc88/microsoft/TypeScript/issues/37383 twitter:card summary_large_image og:image https://opengraph.githubassets.com/81a4339f7d2a7d45a150a08f36323133d1044a2888cee5a1d3e0762de7c1fc88/microsoft/TypeScript/issues/37383 og:image:alt TypeScript Version: 3.0.0-dev.20200312 Search Terms: Code export interface Supervisor og:image:width 1200 og:image:height 600 og:site_name GitHub og:type object og:author:username falsandtru hostname github.com expected-hostname github.com None 4ef498cbabcbe3c50befc7a5b743e7072ee770b4daf0e15e54801180d1fa91fc 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 9983dd5da06943f833c971dd5b6bc988e2858be5 ui-target full theme-color #1e2327 color-scheme light dark react-app-name issues
URLs of crawlers that visited me.