Title: API: expose getEffectiveTypeParameterDeclarations · Issue #24248 · microsoft/TypeScript · GitHub
Open Graph Title: API: expose getEffectiveTypeParameterDeclarations · Issue #24248 · microsoft/TypeScript
X Title: API: expose getEffectiveTypeParameterDeclarations · Issue #24248 · microsoft/TypeScript
Description: TypeScript Version: 2.9.0-dev.20180518 Search Terms: Code import * as ts from 'typescript'; function getTypeParameters(node: ts.DeclarationWithTypeParameters) { return node.typeParameters; } Expected behavior: No compile error. This used...
Open Graph Description: TypeScript Version: 2.9.0-dev.20180518 Search Terms: Code import * as ts from 'typescript'; function getTypeParameters(node: ts.DeclarationWithTypeParameters) { return node.typeParameters; } Expect...
X Description: TypeScript Version: 2.9.0-dev.20180518 Search Terms: Code import * as ts from 'typescript'; function getTypeParameters(node: ts.DeclarationWithTypeParameters) { return node.typeParameters; ...
Opengraph URL: https://github.com/microsoft/TypeScript/issues/24248
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"API: expose getEffectiveTypeParameterDeclarations","articleBody":"\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:** 2.9.0-dev.20180518\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\nimport * as ts from 'typescript';\r\nfunction getTypeParameters(node: ts.DeclarationWithTypeParameters) {\r\n return node.typeParameters;\r\n}\r\n```\r\n\r\n**Expected behavior:**\r\n\r\nNo compile error. This used to work in 2.9.0-rc\r\n\r\n**Actual behavior:**\r\n```\r\nProperty 'typeParameters' does not exist on type 'DeclarationWithTypeParameters'.\r\n Property 'typeParameters' does not exist on type 'JSDocTypedefTag'.\r\n```\r\n\r\n**Playground Link:** not possible\r\n\r\n**Related Issues:**\r\n\r\ncaused by #23947 @sandersn ","author":{"url":"https://github.com/ajafff","@type":"Person","name":"ajafff"},"datePublished":"2018-05-18T15:10:59Z","url":"https://github.com/microsoft/TypeScript/issues/24248"}
| 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:0af6ceae-c682-43da-ed2d-de53858bd44b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9EBA:3C21B:F713D8:13E1AAC:6B00FEF8 |
| html-safe-nonce | 5947a033af1961f7ff1602a48261b5e071bad2080861ccef5208fd7d755865de |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RUJBOjNDMjFCOkY3MTNEODoxM0UxQUFDOjZCMDBGRUY4IiwidmlzaXRvcl9pZCI6IjgxMTI2NDU1NjQwNjkzNzk4MzIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 6f9c8e726fcdc568807a4e956f1c14f75e7567e31cfb349c4bcb16a81e04ef3b |
| hovercard-subject-tag | issue:324449178 |
| 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/24248/issue_layout |
| twitter:image | https://opengraph.githubassets.com/f338912ed982547f315d08467c2adf5b08a76e82d7adf4fc277745475f7c8c69/microsoft/TypeScript/issues/24248 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f338912ed982547f315d08467c2adf5b08a76e82d7adf4fc277745475f7c8c69/microsoft/TypeScript/issues/24248 |
| og:image:alt | TypeScript Version: 2.9.0-dev.20180518 Search Terms: Code import * as ts from 'typescript'; function getTypeParameters(node: ts.DeclarationWithTypeParameters) { return node.typeParameters; } Expect... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ajafff |
| hostname | github.com |
| expected-hostname | github.com |
| None | cb7fa109eca7d4156c889f474306b0e91336055e9adf8fd4684b61e49094d124 |
| 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 | 2b59d31a4e44f08b7af67a4b67f8fd0af3befe2a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width