Title: Definitions have `.any()` instance and static methods on `AbortSignal` even though there is only a static method · Issue #60695 · microsoft/TypeScript · GitHub
Open Graph Title: Definitions have `.any()` instance and static methods on `AbortSignal` even though there is only a static method · Issue #60695 · microsoft/TypeScript
X Title: Definitions have `.any()` instance and static methods on `AbortSignal` even though there is only a static method · Issue #60695 · microsoft/TypeScript
Description: 🔎 Search Terms AbortSignal 🕗 Version & Regression Information This changed in commit or PR #58211 ⏯ Playground Link https://www.typescriptlang.org/play/?noImplicitReturns=false&noUncheckedIndexedAccess=true&allowUnreachableCode=true&allo...
Open Graph Description: 🔎 Search Terms AbortSignal 🕗 Version & Regression Information This changed in commit or PR #58211 ⏯ Playground Link https://www.typescriptlang.org/play/?noImplicitReturns=false&noUncheckedIndexedAc...
X Description: 🔎 Search Terms AbortSignal 🕗 Version & Regression Information This changed in commit or PR #58211 ⏯ Playground Link https://www.typescriptlang.org/play/?noImplicitReturns=false&noUncheckedI...
Opengraph URL: https://github.com/microsoft/TypeScript/issues/60695
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Definitions have `.any()` instance and static methods on `AbortSignal` even though there is only a static method","articleBody":"### 🔎 Search Terms\n\nAbortSignal\n\n### 🕗 Version & Regression Information\n\n- This changed in commit or PR #58211\n\n\n### ⏯ Playground Link\n\nhttps://www.typescriptlang.org/play/?noImplicitReturns=false&noUncheckedIndexedAccess=true&allowUnreachableCode=true&allowUnusedLabels=true&noUnusedLocals=true&noUnusedParameters=true&declaration=false&target=99&jsx=0&module=0&strictBuiltinIteratorReturn=true&useUnknownInCatchVariables=true&exactOptionalPropertyTypes=true&noFallthroughCasesInSwitch=true&noImplicitOverride=true&noPropertyAccessFromIndexSignature=true&ts=5.7.2&filetype=ts#code/PTAEBcAsEsGdQLYFMoHsAmp2qfAdquKEgB5zgBQeSA7qAIIBGqATuAMrQDmeAhgDYAKAJQA6XngCeggNoBdYUA\n\n### 💻 Code\n\n```ts\n// this method does not exist\nnew AbortSignal().any([])\n```\n\n\n### 🙁 Actual behavior\n\nTypeScript doesn't give `Property 'any' does not exist on type 'AbortSignal'.(2339)`.\n\n### 🙂 Expected behavior\n\nTypeScript gives `Property 'any' does not exist on type 'AbortSignal'.(2339)`.\n\n### Additional information about the issue\n\n_No response_","author":{"url":"https://github.com/samualtnorman","@type":"Person","name":"samualtnorman"},"datePublished":"2024-12-05T21:39:06Z","url":"https://github.com/microsoft/TypeScript/issues/60695"}
| 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:ce2cf960-ce8b-90c8-e04f-cb85fc1423dd |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E16C:1EC9BC:26A7F82:3148955:6B019A77 |
| html-safe-nonce | cf744043c57af90c0ede9d033f73b0a892fabdd31868e21b4686212278bad27b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMTZDOjFFQzlCQzoyNkE3RjgyOjMxNDg5NTU6NkIwMTlBNzciLCJ2aXNpdG9yX2lkIjoiODEwNjQ1NzUyNTUxMzE5ODE5OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 94d46e44ad2f261610a45d84d16e3a73bae0fd54e03d466a90a7c17dfc8eb721 |
| hovercard-subject-tag | issue:2721483815 |
| 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/60695/issue_layout |
| twitter:image | https://opengraph.githubassets.com/38c3bf97487204ed9f13447f10caa93faea76b11790d51c195166031e3c53421/microsoft/TypeScript/issues/60695 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/38c3bf97487204ed9f13447f10caa93faea76b11790d51c195166031e3c53421/microsoft/TypeScript/issues/60695 |
| og:image:alt | 🔎 Search Terms AbortSignal 🕗 Version & Regression Information This changed in commit or PR #58211 ⏯ Playground Link https://www.typescriptlang.org/play/?noImplicitReturns=false&noUncheckedIndexedAc... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | samualtnorman |
| 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