| 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/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:6f81f901-6da5-e24c-41ad-531ff2f55fee |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B9E6:5D487:101C227:1563DE3:6B01E164 |
| html-safe-nonce | 4b0852ed48d6a99865f0d8073c1ee40d707d4cebb5453c61fba2cbe7e0117b0d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCOUU2OjVENDg3OjEwMUMyMjc6MTU2M0RFMzo2QjAxRTE2NCIsInZpc2l0b3JfaWQiOiIzMjIzMjgwNzkxNzQwMDgwNDg0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | f36ce536a0b893084e90a3753c54cc931b4f40eb84f56cdf2250c425a813f129 |
| hovercard-subject-tag | pull_request:190771122 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/microsoft/TypeScript/24436/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/8087e2d18d6a116bbdaef186b091824d63f0fb4ecb59717b3612a0a84e48bcd6/microsoft/TypeScript/pull/24436 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/8087e2d18d6a116bbdaef186b091824d63f0fb4ecb59717b3612a0a84e48bcd6/microsoft/TypeScript/pull/24436 |
| og:image:alt | I skipped straight to a PR rather than opening an issue first because this is such a small change and a PR illustrates the problem well IMO. I can open a separate issue if that is desirable.
These... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | MicahZoltu |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-cache |
| 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 | pull-requests |
| Skip to content | https://github.com/microsoft/TypeScript/pull/24436#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F24436 |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F24436 |
| Sign up | https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=microsoft%2FTypeScript |
| Reload | https://github.com/microsoft/TypeScript/pull/24436 |
| Reload | https://github.com/microsoft/TypeScript/pull/24436 |
| Reload | https://github.com/microsoft/TypeScript/pull/24436 |
| microsoft | https://github.com/microsoft |
| TypeScript | https://github.com/microsoft/TypeScript |
| Code | https://github.com/microsoft/TypeScript |
| Issues5k (5k) | https://github.com/microsoft/TypeScript/issues |
| Pull requests312 (312) | https://github.com/microsoft/TypeScript/pulls |
| Actions | https://github.com/microsoft/TypeScript/actions |
| Projects | https://github.com/microsoft/TypeScript/projects |
| Wiki | https://github.com/microsoft/TypeScript/wiki |
| Security and quality | https://github.com/microsoft/TypeScript/security |
| Insights | https://github.com/microsoft/TypeScript/insights |
| https://github.com/microsoft/TypeScript |
| Mohamed Hegazy (mhegazy) | https://github.com/mhegazy |
| microsoft:master | https://github.com/microsoft/TypeScript/tree/master |
| MicahZoltu:patch-1 | https://github.com/MicahZoltu/TypeScript/tree/patch-1 |
| Conversation | https://github.com/microsoft/TypeScript/pull/24436 |
| Commits1 (1) | https://github.com/microsoft/TypeScript/pull/24436/commits |
| Checks | https://github.com/microsoft/TypeScript/pull/24436/checks |
| Files changed | https://github.com/microsoft/TypeScript/pull/24436/files |
| Fixes Number.is* signatures to accept any input. | https://github.com/microsoft/TypeScript/pull/24436#top |
| Mohamed Hegazy (mhegazy) | https://github.com/mhegazy |
| microsoft:master | https://github.com/microsoft/TypeScript/tree/master |
| MicahZoltu:patch-1 | https://github.com/MicahZoltu/TypeScript/tree/patch-1 |
|
| https://github.com/MicahZoltu |
| Micah Zoltu (MicahZoltu) | https://github.com/MicahZoltu |
| May 27, 2018 | https://github.com/microsoft/TypeScript/pull/24436#issue-326788242 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/24436 |
| Fixes Number.is* signatures to accept any input. | https://github.com/microsoft/TypeScript/pull/24436/commits/a846e7f4c010d8d63f23aacbadce71f23c4e97ef |
|
| https://github.com/microsoft/TypeScript/commit/a846e7f4c010d8d63f23aacbadce71f23c4e97ef#comments |
| a846e7f | https://github.com/microsoft/TypeScript/pull/24436/commits/a846e7f4c010d8d63f23aacbadce71f23c4e97ef |
| https://github.com/msftclas |
| Microsoft Contribution License Agreements (msftclas) | https://github.com/msftclas |
| May 27, 2018 | https://github.com/microsoft/TypeScript/pull/24436#issuecomment-392305897 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/24436 |
| https://cla.opensource.microsoft.com/Microsoft/TypeScript?pullRequest=24436 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/24436 |
| https://github.com/j-oliveras |
| Jordi Oliveras Rovira (j-oliveras) | https://github.com/j-oliveras |
| May 27, 2018 | https://github.com/microsoft/TypeScript/pull/24436#issuecomment-392318505 |
| #4002 | https://github.com/microsoft/TypeScript/issues/4002 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/24436 |
| https://github.com/MicahZoltu |
| Micah Zoltu (MicahZoltu) | https://github.com/MicahZoltu |
| May 27, 2018 | https://github.com/microsoft/TypeScript/pull/24436#issuecomment-392321132 |
| Jordi Oliveras Rovira (@j-oliveras) | https://github.com/j-oliveras |
| #4002 | https://github.com/microsoft/TypeScript/issues/4002 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/24436 |
| https://github.com/MicahZoltu |
| Micah Zoltu (MicahZoltu) | https://github.com/MicahZoltu |
|
May 27, 2018
| https://github.com/microsoft/TypeScript/pull/24436#ref-issue-288927438 |
|
Number.isInteger and others should accept any and act as type guards
#21199
| https://github.com/microsoft/TypeScript/issues/21199 |
| https://github.com/j-oliveras |
| Jordi Oliveras Rovira (j-oliveras) | https://github.com/j-oliveras |
| May 27, 2018 | https://github.com/microsoft/TypeScript/pull/24436#issuecomment-392327337 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/24436 |
| https://github.com/mhegazy |
| Mohamed Hegazy (mhegazy) | https://github.com/mhegazy |
| Ryan Cavanaugh (RyanCavanaugh) | https://github.com/RyanCavanaugh |
| May 30, 2018 00:10 | https://github.com/microsoft/TypeScript/pull/24436#event-1652390828 |
| https://github.com/mhegazy |
| Mohamed Hegazy (mhegazy) | https://github.com/mhegazy |
| May 30, 2018 | https://github.com/microsoft/TypeScript/pull/24436#issuecomment-392988987 |
| Ryan Cavanaugh (@RyanCavanaugh) | https://github.com/RyanCavanaugh |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/24436 |
| https://github.com/RyanCavanaugh |
| Ryan Cavanaugh (RyanCavanaugh) | https://github.com/RyanCavanaugh |
|
May 30, 2018
| https://github.com/microsoft/TypeScript/pull/24436#pullrequestreview-124220524 |
|
View reviewed changes
| https://github.com/microsoft/TypeScript/pull/24436/files/a846e7f4c010d8d63f23aacbadce71f23c4e97ef |
| https://github.com/RyanCavanaugh |
| Ryan Cavanaugh (RyanCavanaugh) | https://github.com/RyanCavanaugh |
| May 30, 2018 | https://github.com/microsoft/TypeScript/pull/24436#issuecomment-392997204 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/24436 |
| https://github.com/kpdonn |
| Kevin Donnelly (kpdonn) | https://github.com/kpdonn |
| May 30, 2018 | https://github.com/microsoft/TypeScript/pull/24436#issuecomment-393021577 |
| Ryan Cavanaugh (@RyanCavanaugh) | https://github.com/RyanCavanaugh |
| Playground link | https://www.typescriptlang.org/play/#src=declare%20function%20isFinite%3CT%20extends%20(number%20extends%20T%20%3F%20any%20%3A%20number)%3E(%0D%0A%20%20%20%20value%3A%20T%2C%0D%0A)%3A%20boolean%3B%0D%0A%0D%0Adeclare%20const%20maybeNumber%3A%20number%20%7C%20string%3B%0D%0Adeclare%20const%20definitelyNumber%3A%20number%3B%0D%0Adeclare%20const%20definitelyNotNumber%3A%20string%3B%0D%0A%0D%0AisFinite(%22oops%22)%20%2F%2F%20Argument%20of%20type%20'%22oops%22'%20is%20not%20assignable%20to%20parameter%20of%20type%20'number'%0D%0AisFinite(12345)%20%2F%2F%20allowed%0D%0A%0D%0AisFinite(maybeNumber)%20%2F%2F%20allowed%0D%0AisFinite(definitelyNumber)%20%2F%2F%20allowed%0D%0AisFinite(definitelyNotNumber)%20%2F%2F%20Argument%20of%20type%20'string'%20is%20not%20assignable%20to%20parameter%20of%20type%20'number' |
| Joe Calzaretta (@jcalz) | https://github.com/jcalz |
| #22375 (comment) | https://github.com/microsoft/TypeScript/issues/22375#issuecomment-371162782 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/24436 |
| https://github.com/MicahZoltu |
| Micah Zoltu (MicahZoltu) | https://github.com/MicahZoltu |
| May 30, 2018 | https://github.com/microsoft/TypeScript/pull/24436#issuecomment-393029830 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/24436 |
| https://github.com/MicahZoltu |
| Micah Zoltu (MicahZoltu) | https://github.com/MicahZoltu |
| May 30, 2018 | https://github.com/microsoft/TypeScript/pull/24436#issuecomment-393030224 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/24436 |
| https://github.com/mhegazy |
| Mohamed Hegazy (mhegazy) | https://github.com/mhegazy |
| 593b048 | https://github.com/microsoft/TypeScript/commit/593b048c0e27997d7712ff61208570f4fffb88c6 |
| May 30, 2018 | https://github.com/microsoft/TypeScript/pull/24436#event-1654155190 |
| https://github.com/ajafff |
| Klaus Meinhardt (ajafff) | https://github.com/ajafff |
| Jun 1, 2018 | https://github.com/microsoft/TypeScript/pull/24436#issuecomment-393911190 |
| Micah Zoltu (@MicahZoltu) | https://github.com/MicahZoltu |
| https://agentcooper.github.io/typescript-play/#code/CYUwxgNghgTiAEAzArgOzAFwJYHtXywGcBJVDEAcxBgAoAHWKAWwC54pUBPASjYZmYFC8VMiYAjagG4AUDNCRYCCCAzwAbm1ETq8AD7xCGGFlQVZMrIng0ipclVrru3eAG8Z8LxoB0GHABiWAAeIMA03LIAvvAgEIQIHt6+YAAWsACCGDQADJHwAPQF8BipRPAA7lgQECWpMDgV7GowaNhMCFbwAOTq3ULsSBA4UNhm8HQ4pmrakjAyUUA | https://agentcooper.github.io/typescript-play/#code/CYUwxgNghgTiAEAzArgOzAFwJYHtXywGcBJVDEAcxBgAoAHWKAWwC54pUBPASjYZmYFC8VMiYAjagG4AUDNCRYCCCAzwAbm1ETq8AD7xCGGFlQVZMrIng0ipclVrru3eAG8Z8LxoB0GHABiWAAeIMA03LIAvvAgEIQIHt6+YAAWsACCGDQADJHwAPQF8BipRPAA7lgQECWpMDgV7GowaNhMCFbwAOTq3ULsSBA4UNhm8HQ4pmrakjAyUUA |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/24436 |
| https://github.com/MicahZoltu |
| Micah Zoltu (MicahZoltu) | https://github.com/MicahZoltu |
|
Jun 5, 2018
| https://github.com/microsoft/TypeScript/pull/24436#ref-issue-249819375 |
|
User-defined type assertions
#17760
| https://github.com/microsoft/TypeScript/issues/17760 |
| https://github.com/microsoft |
| Microsoft (microsoft) | https://github.com/microsoft |
| Jul 31, 2018 | https://github.com/microsoft/TypeScript/pull/24436#event-1763329860 |
| https://github.com/MicahZoltu |
| Micah Zoltu (MicahZoltu) | https://github.com/MicahZoltu |
| November 2, 2018 03:04 | https://github.com/microsoft/TypeScript/pull/24436#event-1942047411 |
| https://github.co/hiddenchars |
| https://github.com/microsoft/TypeScript/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F24436 |
|
| https://github.com/RyanCavanaugh |
|
Ryan Cavanaugh (RyanCavanaugh)
| https://github.com/RyanCavanaugh |
|
| https://github.com/microsoft/TypeScript/pull/24436/files/a846e7f4c010d8d63f23aacbadce71f23c4e97ef |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/24436 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/24436 |
|
| https://github.com/MicahZoltu |
|
| https://github.com/msftclas |
|
| https://github.com/j-oliveras |
|
| https://github.com/mhegazy |
|
| https://github.com/RyanCavanaugh |
|
| https://github.com/kpdonn |
|
| https://github.com/ajafff |
|
| https://github.com/vitaliusvs |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |