Title: signatureHelp resets selected index while completing overload · Issue #25208 · microsoft/TypeScript · GitHub
Open Graph Title: signatureHelp resets selected index while completing overload · Issue #25208 · microsoft/TypeScript
X Title: signatureHelp resets selected index while completing overload · Issue #25208 · microsoft/TypeScript
Description: From microsoft/vscode#52750 TypeScript Version: 3.0.0-dev.20180623 Search Terms: Code declare function foo(name: 'a', param: { x: number }): void; declare function foo(name: 'b', param: { y: number }): void; declare function foo(name: st...
Open Graph Description: From microsoft/vscode#52750 TypeScript Version: 3.0.0-dev.20180623 Search Terms: Code declare function foo(name: 'a', param: { x: number }): void; declare function foo(name: 'b', param: { y: number...
X Description: From microsoft/vscode#52750 TypeScript Version: 3.0.0-dev.20180623 Search Terms: Code declare function foo(name: 'a', param: { x: number }): void; declare function foo(name: 'b', pa...
Opengraph URL: https://github.com/microsoft/TypeScript/issues/25208
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"signatureHelp resets selected index while completing overload","articleBody":"From https://github.com/Microsoft/vscode/issues/52750\r\n\r\n\u003c!-- 🚨 STOP 🚨 𝗦𝗧𝗢𝗣 🚨 𝑺𝑻𝑶𝑷 🚨\r\n\r\nHalf of all issues filed here are duplicates, answered in the FAQ, or not appropriate for the bug tracker. Even if you think you've found a *bug*, please read the FAQ first, especially the Common \"Bugs\" That Aren't Bugs section!\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 FAQ: https://github.com/Microsoft/TypeScript/wiki/FAQ\r\n\r\nPlease 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.20180623\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\ndeclare function foo(name: 'a', param: { x: number }): void;\r\ndeclare function foo(name: 'b', param: { y: number }): void;\r\ndeclare function foo(name: string, param: any): void;\r\n\r\nfoo('a')\r\n```\r\n\r\nAfter `'a'` in the call to `foo`, type `,` then `{`\r\n\r\n**Expected behavior:**\r\nAfter typing `,`, the sig help picks up that we are on the first overload. After typing the `{`, we still should have the first overload selected\r\n\r\n**Actual behavior:**\r\nAfter typing the `{`, we go to the generic `string` overload. Here are the relevant logs:\r\n\r\n```\r\n[Trace - 3:19:26 PM] Sending request: change (693). Response expected: no. Current queue length: 0\r\nArguments: {\r\n \"file\": \"/Users/matb/projects/san/b.ts\",\r\n \"line\": 5,\r\n \"offset\": 8,\r\n \"endLine\": 5,\r\n \"endOffset\": 8,\r\n \"insertString\": \",\"\r\n}\r\n[Trace - 3:19:26 PM] Sending request: signatureHelp (694). Response expected: yes. Current queue length: 0\r\nArguments: {\r\n \"file\": \"/Users/matb/projects/san/b.ts\",\r\n \"line\": 5,\r\n \"offset\": 9\r\n}\r\n[Trace - 3:19:26 PM] Response received: signatureHelp (694). Request took 19 ms. Success: true \r\nResult: {\r\n \"items\": [\r\n {\r\n \"isVariadic\": false,\r\n \"prefixDisplayParts\": [\r\n {\r\n \"text\": \"foo\",\r\n \"kind\": \"functionName\"\r\n },\r\n {\r\n \"text\": \"(\",\r\n \"kind\": \"punctuation\"\r\n }\r\n ],\r\n \"suffixDisplayParts\": [\r\n {\r\n \"text\": \")\",\r\n \"kind\": \"punctuation\"\r\n },\r\n {\r\n \"text\": \":\",\r\n \"kind\": \"punctuation\"\r\n },\r\n {\r\n \"text\": \" \",\r\n \"kind\": \"space\"\r\n },\r\n {\r\n \"text\": \"void\",\r\n \"kind\": \"keyword\"\r\n }\r\n ],\r\n \"separatorDisplayParts\": [\r\n {\r\n \"text\": \",\",\r\n \"kind\": \"punctuation\"\r\n },\r\n {\r\n \"text\": \" \",\r\n \"kind\": \"space\"\r\n }\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"name\",\r\n \"documentation\": [],\r\n \"displayParts\": [\r\n {\r\n \"text\": \"name\",\r\n \"kind\": \"parameterName\"\r\n },\r\n {\r\n \"text\": \":\",\r\n \"kind\": \"punctuation\"\r\n },\r\n {\r\n \"text\": \" \",\r\n \"kind\": \"space\"\r\n },\r\n {\r\n \"text\": \"\\\"a\\\"\",\r\n \"kind\": \"stringLiteral\"\r\n }\r\n ],\r\n \"isOptional\": false\r\n },\r\n {\r\n \"name\": \"param\",\r\n \"documentation\": [],\r\n \"displayParts\": [\r\n {\r\n \"text\": \"param\",\r\n \"kind\": \"parameterName\"\r\n },\r\n {\r\n \"text\": \":\",\r\n \"kind\": \"punctuation\"\r\n },\r\n {\r\n \"text\": \" \",\r\n \"kind\": \"space\"\r\n },\r\n {\r\n \"text\": \"{\",\r\n \"kind\": \"punctuation\"\r\n },\r\n {\r\n \"text\": \" \",\r\n \"kind\": \"space\"\r\n },\r\n {\r\n \"text\": \"x\",\r\n \"kind\": \"propertyName\"\r\n },\r\n {\r\n \"text\": \":\",\r\n \"kind\": \"punctuation\"\r\n },\r\n {\r\n \"text\": \" \",\r\n \"kind\": \"space\"\r\n },\r\n {\r\n \"text\": \"number\",\r\n \"kind\": \"keyword\"\r\n },\r\n {\r\n \"text\": \";\",\r\n \"kind\": \"punctuation\"\r\n },\r\n {\r\n \"text\": \" \",\r\n \"kind\": \"space\"\r\n },\r\n {\r\n \"text\": \"}\",\r\n \"kind\": \"punctuation\"\r\n }\r\n ],\r\n \"isOptional\": false\r\n }\r\n ],\r\n \"documentation\": [],\r\n \"tags\": []\r\n },\r\n {\r\n \"isVariadic\": false,\r\n \"prefixDisplayParts\": [\r\n {\r\n \"text\": \"foo\",\r\n \"kind\": \"functionName\"\r\n },\r\n {\r\n \"text\": \"(\",\r\n \"kind\": \"punctuation\"\r\n }\r\n ],\r\n \"suffixDisplayParts\": [\r\n {\r\n \"text\": \")\",\r\n \"kind\": \"punctuation\"\r\n },\r\n {\r\n \"text\": \":\",\r\n \"kind\": \"punctuation\"\r\n },\r\n {\r\n \"text\": \" \",\r\n \"kind\": \"space\"\r\n },\r\n {\r\n \"text\": \"void\",\r\n \"kind\": \"keyword\"\r\n }\r\n ],\r\n \"separatorDisplayParts\": [\r\n {\r\n \"text\": \",\",\r\n \"kind\": \"punctuation\"\r\n },\r\n {\r\n \"text\": \" \",\r\n \"kind\": \"space\"\r\n }\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"name\",\r\n \"documentation\": [],\r\n \"displayParts\": [\r\n {\r\n \"text\": \"name\",\r\n \"kind\": \"parameterName\"\r\n },\r\n {\r\n \"text\": \":\",\r\n \"kind\": \"punctuation\"\r\n },\r\n {\r\n \"text\": \" \",\r\n \"kind\": \"space\"\r\n },\r\n {\r\n \"text\": \"\\\"b\\\"\",\r\n \"kind\": \"stringLiteral\"\r\n }\r\n ],\r\n \"isOptional\": false\r\n },\r\n {\r\n \"name\": \"param\",\r\n \"documentation\": [],\r\n \"displayParts\": [\r\n {\r\n \"text\": \"param\",\r\n \"kind\": \"parameterName\"\r\n },\r\n {\r\n \"text\": \":\",\r\n \"kind\": \"punctuation\"\r\n },\r\n {\r\n \"text\": \" \",\r\n \"kind\": \"space\"\r\n },\r\n {\r\n \"text\": \"{\",\r\n \"kind\": \"punctuation\"\r\n },\r\n {\r\n \"text\": \" \",\r\n \"kind\": \"space\"\r\n },\r\n {\r\n \"text\": \"y\",\r\n \"kind\": \"propertyName\"\r\n },\r\n {\r\n \"text\": \":\",\r\n \"kind\": \"punctuation\"\r\n },\r\n {\r\n \"text\": \" \",\r\n \"kind\": \"space\"\r\n },\r\n {\r\n \"text\": \"number\",\r\n \"kind\": \"keyword\"\r\n },\r\n {\r\n \"text\": \";\",\r\n \"kind\": \"punctuation\"\r\n },\r\n {\r\n \"text\": \" \",\r\n \"kind\": \"space\"\r\n },\r\n {\r\n \"text\": \"}\",\r\n \"kind\": \"punctuation\"\r\n }\r\n ],\r\n \"isOptional\": false\r\n }\r\n ],\r\n \"documentation\": [],\r\n \"tags\": []\r\n },\r\n {\r\n \"isVariadic\": false,\r\n \"prefixDisplayParts\": [\r\n {\r\n \"text\": \"foo\",\r\n \"kind\": \"functionName\"\r\n },\r\n {\r\n \"text\": \"(\",\r\n \"kind\": \"punctuation\"\r\n }\r\n ],\r\n \"suffixDisplayParts\": [\r\n {\r\n \"text\": \")\",\r\n \"kind\": \"punctuation\"\r\n },\r\n {\r\n \"text\": \":\",\r\n \"kind\": \"punctuation\"\r\n },\r\n {\r\n \"text\": \" \",\r\n \"kind\": \"space\"\r\n },\r\n {\r\n \"text\": \"void\",\r\n \"kind\": \"keyword\"\r\n }\r\n ],\r\n \"separatorDisplayParts\": [\r\n {\r\n \"text\": \",\",\r\n \"kind\": \"punctuation\"\r\n },\r\n {\r\n \"text\": \" \",\r\n \"kind\": \"space\"\r\n }\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"name\",\r\n \"documentation\": [],\r\n \"displayParts\": [\r\n {\r\n \"text\": \"name\",\r\n \"kind\": \"parameterName\"\r\n },\r\n {\r\n \"text\": \":\",\r\n \"kind\": \"punctuation\"\r\n },\r\n {\r\n \"text\": \" \",\r\n \"kind\": \"space\"\r\n },\r\n {\r\n \"text\": \"string\",\r\n \"kind\": \"keyword\"\r\n }\r\n ],\r\n \"isOptional\": false\r\n },\r\n {\r\n \"name\": \"param\",\r\n \"documentation\": [],\r\n \"displayParts\": [\r\n {\r\n \"text\": \"param\",\r\n \"kind\": \"parameterName\"\r\n },\r\n {\r\n \"text\": \":\",\r\n \"kind\": \"punctuation\"\r\n },\r\n {\r\n \"text\": \" \",\r\n \"kind\": \"space\"\r\n },\r\n {\r\n \"text\": \"any\",\r\n \"kind\": \"keyword\"\r\n }\r\n ],\r\n \"isOptional\": false\r\n }\r\n ],\r\n \"documentation\": [],\r\n \"tags\": []\r\n }\r\n ],\r\n \"applicableSpan\": {\r\n \"start\": {\r\n \"line\": 5,\r\n \"offset\": 5\r\n },\r\n \"end\": {\r\n \"line\": 5,\r\n \"offset\": 9\r\n }\r\n },\r\n \"selectedItemIndex\": 0,\r\n \"argumentIndex\": 1,\r\n \"argumentCount\": 2\r\n}\r\n[Trace - 3:19:28 PM] Sending request: change (702). Response expected: no. Current queue length: 0\r\nArguments: {\r\n \"file\": \"/Users/matb/projects/san/b.ts\",\r\n \"line\": 5,\r\n \"offset\": 9,\r\n \"endLine\": 5,\r\n \"endOffset\": 9,\r\n \"insertString\": \"{}\"\r\n}\r\n[Trace - 3:19:28 PM] Sending request: signatureHelp (703). Response expected: yes. Current queue length: 0\r\nArguments: {\r\n \"file\": \"/Users/matb/projects/san/b.ts\",\r\n \"line\": 5,\r\n \"offset\": 10\r\n}\r\n[Trace - 3:19:28 PM] Response received: signatureHelp (703). Request took 14 ms. Success: true \r\nResult: {\r\n \"items\": [\r\n {\r\n \"isVariadic\": false,\r\n \"prefixDisplayParts\": [\r\n {\r\n \"text\": \"foo\",\r\n \"kind\": \"functionName\"\r\n },\r\n {\r\n \"text\": \"(\",\r\n \"kind\": \"punctuation\"\r\n }\r\n ],\r\n \"suffixDisplayParts\": [\r\n {\r\n \"text\": \")\",\r\n \"kind\": \"punctuation\"\r\n },\r\n {\r\n \"text\": \":\",\r\n \"kind\": \"punctuation\"\r\n },\r\n {\r\n \"text\": \" \",\r\n \"kind\": \"space\"\r\n },\r\n {\r\n \"text\": \"void\",\r\n \"kind\": \"keyword\"\r\n }\r\n ],\r\n \"separatorDisplayParts\": [\r\n {\r\n \"text\": \",\",\r\n \"kind\": \"punctuation\"\r\n },\r\n {\r\n \"text\": \" \",\r\n \"kind\": \"space\"\r\n }\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"name\",\r\n \"documentation\": [],\r\n \"displayParts\": [\r\n {\r\n \"text\": \"name\",\r\n \"kind\": \"parameterName\"\r\n },\r\n {\r\n \"text\": \":\",\r\n \"kind\": \"punctuation\"\r\n },\r\n {\r\n \"text\": \" \",\r\n \"kind\": \"space\"\r\n },\r\n {\r\n \"text\": \"\\\"a\\\"\",\r\n \"kind\": \"stringLiteral\"\r\n }\r\n ],\r\n \"isOptional\": false\r\n },\r\n {\r\n \"name\": \"param\",\r\n \"documentation\": [],\r\n \"displayParts\": [\r\n {\r\n \"text\": \"param\",\r\n \"kind\": \"parameterName\"\r\n },\r\n {\r\n \"text\": \":\",\r\n \"kind\": \"punctuation\"\r\n },\r\n {\r\n \"text\": \" \",\r\n \"kind\": \"space\"\r\n },\r\n {\r\n \"text\": \"{\",\r\n \"kind\": \"punctuation\"\r\n },\r\n {\r\n \"text\": \" \",\r\n \"kind\": \"space\"\r\n },\r\n {\r\n \"text\": \"x\",\r\n \"kind\": \"propertyName\"\r\n },\r\n {\r\n \"text\": \":\",\r\n \"kind\": \"punctuation\"\r\n },\r\n {\r\n \"text\": \" \",\r\n \"kind\": \"space\"\r\n },\r\n {\r\n \"text\": \"number\",\r\n \"kind\": \"keyword\"\r\n },\r\n {\r\n \"text\": \";\",\r\n \"kind\": \"punctuation\"\r\n },\r\n {\r\n \"text\": \" \",\r\n \"kind\": \"space\"\r\n },\r\n {\r\n \"text\": \"}\",\r\n \"kind\": \"punctuation\"\r\n }\r\n ],\r\n \"isOptional\": false\r\n }\r\n ],\r\n \"documentation\": [],\r\n \"tags\": []\r\n },\r\n {\r\n \"isVariadic\": false,\r\n \"prefixDisplayParts\": [\r\n {\r\n \"text\": \"foo\",\r\n \"kind\": \"functionName\"\r\n },\r\n {\r\n \"text\": \"(\",\r\n \"kind\": \"punctuation\"\r\n }\r\n ],\r\n \"suffixDisplayParts\": [\r\n {\r\n \"text\": \")\",\r\n \"kind\": \"punctuation\"\r\n },\r\n {\r\n \"text\": \":\",\r\n \"kind\": \"punctuation\"\r\n },\r\n {\r\n \"text\": \" \",\r\n \"kind\": \"space\"\r\n },\r\n {\r\n \"text\": \"void\",\r\n \"kind\": \"keyword\"\r\n }\r\n ],\r\n \"separatorDisplayParts\": [\r\n {\r\n \"text\": \",\",\r\n \"kind\": \"punctuation\"\r\n },\r\n {\r\n \"text\": \" \",\r\n \"kind\": \"space\"\r\n }\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"name\",\r\n \"documentation\": [],\r\n \"displayParts\": [\r\n {\r\n \"text\": \"name\",\r\n \"kind\": \"parameterName\"\r\n },\r\n {\r\n \"text\": \":\",\r\n \"kind\": \"punctuation\"\r\n },\r\n {\r\n \"text\": \" \",\r\n \"kind\": \"space\"\r\n },\r\n {\r\n \"text\": \"\\\"b\\\"\",\r\n \"kind\": \"stringLiteral\"\r\n }\r\n ],\r\n \"isOptional\": false\r\n },\r\n {\r\n \"name\": \"param\",\r\n \"documentation\": [],\r\n \"displayParts\": [\r\n {\r\n \"text\": \"param\",\r\n \"kind\": \"parameterName\"\r\n },\r\n {\r\n \"text\": \":\",\r\n \"kind\": \"punctuation\"\r\n },\r\n {\r\n \"text\": \" \",\r\n \"kind\": \"space\"\r\n },\r\n {\r\n \"text\": \"{\",\r\n \"kind\": \"punctuation\"\r\n },\r\n {\r\n \"text\": \" \",\r\n \"kind\": \"space\"\r\n },\r\n {\r\n \"text\": \"y\",\r\n \"kind\": \"propertyName\"\r\n },\r\n {\r\n \"text\": \":\",\r\n \"kind\": \"punctuation\"\r\n },\r\n {\r\n \"text\": \" \",\r\n \"kind\": \"space\"\r\n },\r\n {\r\n \"text\": \"number\",\r\n \"kind\": \"keyword\"\r\n },\r\n {\r\n \"text\": \";\",\r\n \"kind\": \"punctuation\"\r\n },\r\n {\r\n \"text\": \" \",\r\n \"kind\": \"space\"\r\n },\r\n {\r\n \"text\": \"}\",\r\n \"kind\": \"punctuation\"\r\n }\r\n ],\r\n \"isOptional\": false\r\n }\r\n ],\r\n \"documentation\": [],\r\n \"tags\": []\r\n },\r\n {\r\n \"isVariadic\": false,\r\n \"prefixDisplayParts\": [\r\n {\r\n \"text\": \"foo\",\r\n \"kind\": \"functionName\"\r\n },\r\n {\r\n \"text\": \"(\",\r\n \"kind\": \"punctuation\"\r\n }\r\n ],\r\n \"suffixDisplayParts\": [\r\n {\r\n \"text\": \")\",\r\n \"kind\": \"punctuation\"\r\n },\r\n {\r\n \"text\": \":\",\r\n \"kind\": \"punctuation\"\r\n },\r\n {\r\n \"text\": \" \",\r\n \"kind\": \"space\"\r\n },\r\n {\r\n \"text\": \"void\",\r\n \"kind\": \"keyword\"\r\n }\r\n ],\r\n \"separatorDisplayParts\": [\r\n {\r\n \"text\": \",\",\r\n \"kind\": \"punctuation\"\r\n },\r\n {\r\n \"text\": \" \",\r\n \"kind\": \"space\"\r\n }\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"name\",\r\n \"documentation\": [],\r\n \"displayParts\": [\r\n {\r\n \"text\": \"name\",\r\n \"kind\": \"parameterName\"\r\n },\r\n {\r\n \"text\": \":\",\r\n \"kind\": \"punctuation\"\r\n },\r\n {\r\n \"text\": \" \",\r\n \"kind\": \"space\"\r\n },\r\n {\r\n \"text\": \"string\",\r\n \"kind\": \"keyword\"\r\n }\r\n ],\r\n \"isOptional\": false\r\n },\r\n {\r\n \"name\": \"param\",\r\n \"documentation\": [],\r\n \"displayParts\": [\r\n {\r\n \"text\": \"param\",\r\n \"kind\": \"parameterName\"\r\n },\r\n {\r\n \"text\": \":\",\r\n \"kind\": \"punctuation\"\r\n },\r\n {\r\n \"text\": \" \",\r\n \"kind\": \"space\"\r\n },\r\n {\r\n \"text\": \"any\",\r\n \"kind\": \"keyword\"\r\n }\r\n ],\r\n \"isOptional\": false\r\n }\r\n ],\r\n \"documentation\": [],\r\n \"tags\": []\r\n }\r\n ],\r\n \"applicableSpan\": {\r\n \"start\": {\r\n \"line\": 5,\r\n \"offset\": 5\r\n },\r\n \"end\": {\r\n \"line\": 5,\r\n \"offset\": 11\r\n }\r\n },\r\n \"selectedItemIndex\": 2,\r\n \"argumentIndex\": 1,\r\n \"argumentCount\": 2\r\n}\r\n```\r\n\r\n","author":{"url":"https://github.com/mjbvz","@type":"Person","name":"mjbvz"},"datePublished":"2018-06-25T22:25:33Z","url":"https://github.com/microsoft/TypeScript/issues/25208"}
| 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:9efeccb5-2803-4c70-be21-3971cf0e3bf6 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DE4E:ADA9D:25AA590:305597E:6B0181BD |
| html-safe-nonce | 19790ba1613ad0cfdc1bc9869f5ca8df4e1b90ea3021afbb2c7f1890fd7b48a1 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERTRFOkFEQTlEOjI1QUE1OTA6MzA1NTk3RTo2QjAxODFCRCIsInZpc2l0b3JfaWQiOiI3NzkyMTcxNzk4OTc5NzcyODYxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | d84bd2a2c2dcb260ddb372aada0fd98b0519dd81f6d8f2df2efd5d452c82b0dc |
| hovercard-subject-tag | issue:335589817 |
| 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/25208/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ff9601c3a8cd08023419a6bb3881eb737c300b18308d303eac717318d1bc236f/microsoft/TypeScript/issues/25208 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ff9601c3a8cd08023419a6bb3881eb737c300b18308d303eac717318d1bc236f/microsoft/TypeScript/issues/25208 |
| og:image:alt | From microsoft/vscode#52750 TypeScript Version: 3.0.0-dev.20180623 Search Terms: Code declare function foo(name: 'a', param: { x: number }): void; declare function foo(name: 'b', param: { y: number... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mjbvz |
| 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