René's URL Explorer Experiment


Title: Prototype: Numeric Literal Types by weswigham · Pull Request #7480 · microsoft/TypeScript · GitHub

Open Graph Title: Prototype: Numeric Literal Types by weswigham · Pull Request #7480 · microsoft/TypeScript

X Title: Prototype: Numeric Literal Types by weswigham · Pull Request #7480 · microsoft/TypeScript

Description: TypeScript is a superset of JavaScript that compiles to clean JavaScript output. - Prototype: Numeric Literal Types by weswigham · Pull Request #7480 · microsoft/TypeScript

Open Graph Description: This is a prototype for numeric literal types, in the same vein as string literal types. All numeric syntaxes supported by JS should be supported (as far as I know) in type positions. Additionally,...

X Description: This is a prototype for numeric literal types, in the same vein as string literal types. All numeric syntaxes supported by JS should be supported (as far as I know) in type positions. Additionally,...

Opengraph URL: https://github.com/microsoft/TypeScript/pull/7480

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,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-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:8a65762d-de5e-e5d8-5634-85cda2e297ea
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idBEA6:321C40:C7429B:111DE32:6AFBE8D6
html-safe-nonce36919d50de5ec96b496623e3662cebd027c70c8602554a02f664c0eeb4dc0e78
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRUE2OjMyMUM0MDpDNzQyOUI6MTExREUzMjo2QUZCRThENiIsInZpc2l0b3JfaWQiOiIyMTk5NTA0ODU2MzI0NzYxODE0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacd0e41844da694ca9095cf0cf9f261ef28af0f9f5a08e3a4b148b6d7b5bc71a96
hovercard-subject-tagpull_request:62533134
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/microsoft/TypeScript/7480/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/312c7f492e52ed5aa6d7849365d8fdceb0117f2d35b66af394a330b14fc6ffef/microsoft/TypeScript/pull/7480
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/312c7f492e52ed5aa6d7849365d8fdceb0117f2d35b66af394a330b14fc6ffef/microsoft/TypeScript/pull/7480
og:image:altThis is a prototype for numeric literal types, in the same vein as string literal types. All numeric syntaxes supported by JS should be supported (as far as I know) in type positions. Additionally,...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameweswigham
hostnamegithub.com
expected-hostnamegithub.com
None744d4381b1c4dbd6d8736c7d7e5bbe7dc11217584e457a3555020c631764e8ec
turbo-cache-controlno-cache
go-importgithub.com/microsoft/TypeScript git https://github.com/microsoft/TypeScript.git
octolytics-dimension-user_id6154722
octolytics-dimension-user_loginmicrosoft
octolytics-dimension-repository_id20929025
octolytics-dimension-repository_nwomicrosoft/TypeScript
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id20929025
octolytics-dimension-repository_network_root_nwomicrosoft/TypeScript
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasedf859c48a4c8b4c0009c19bb4e82101aacb4b998
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/microsoft/TypeScript/pull/7480#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F7480
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F7480
Sign uphttps://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
Reloadhttps://github.com/microsoft/TypeScript/pull/7480
Reloadhttps://github.com/microsoft/TypeScript/pull/7480
Reloadhttps://github.com/microsoft/TypeScript/pull/7480
microsofthttps://github.com/microsoft
TypeScripthttps://github.com/microsoft/TypeScript
Codehttps://github.com/microsoft/TypeScript
Issues5k (5k)https://github.com/microsoft/TypeScript/issues
Pull requests334 (334)https://github.com/microsoft/TypeScript/pulls
Actionshttps://github.com/microsoft/TypeScript/actions
Projectshttps://github.com/microsoft/TypeScript/projects
Wikihttps://github.com/microsoft/TypeScript/wiki
Security and qualityhttps://github.com/microsoft/TypeScript/security
Insightshttps://github.com/microsoft/TypeScript/pulse
https://github.com/microsoft/TypeScript
Wesley Wigham (weswigham)https://github.com/weswigham
microsoft:masterhttps://github.com/microsoft/TypeScript/tree/master
weswigham:number-typeshttps://github.com/weswigham/TypeScript/tree/number-types
Conversationhttps://github.com/microsoft/TypeScript/pull/7480
Commits13 (13)https://github.com/microsoft/TypeScript/pull/7480/commits
Checkshttps://github.com/microsoft/TypeScript/pull/7480/checks
Files changedhttps://github.com/microsoft/TypeScript/pull/7480/files
Prototype: Numeric Literal Typeshttps://github.com/microsoft/TypeScript/pull/7480#top
Wesley Wigham (weswigham)https://github.com/weswigham
microsoft:masterhttps://github.com/microsoft/TypeScript/tree/master
weswigham:number-typeshttps://github.com/weswigham/TypeScript/tree/number-types
https://github.com/weswigham
Wesley Wigham (weswigham)https://github.com/weswigham
Mar 11, 2016https://github.com/microsoft/TypeScript/pull/7480#issue-140165877
#7235https://github.com/microsoft/TypeScript/pull/7235
Non-nullable types #7140https://github.com/microsoft/TypeScript/pull/7140
Mutability widening for literal types #6554https://github.com/microsoft/TypeScript/pull/6554
Control flow based type guards #6959https://github.com/microsoft/TypeScript/pull/6959
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/7480
https://github.com/msftclas
Microsoft Contribution License Agreements (msftclas)https://github.com/msftclas
cla-already-signed https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3Acla-already-signed
Mar 11, 2016https://github.com/microsoft/TypeScript/pull/7480#event-586296895
https://github.com/weswigham
Wesley Wigham (weswigham)https://github.com/weswigham
force-pushedhttps://github.com/microsoft/TypeScript/compare/9ec877a3954090361848592edc6820e200ebecc5..4d931db2345939542d55336c55ff3b50be62ed25
9ec877ahttps://github.com/microsoft/TypeScript/commit/9ec877a3954090361848592edc6820e200ebecc5
4d931dbhttps://github.com/microsoft/TypeScript/commit/4d931db2345939542d55336c55ff3b50be62ed25
Compare https://github.com/microsoft/TypeScript/compare/9ec877a3954090361848592edc6820e200ebecc5..4d931db2345939542d55336c55ff3b50be62ed25
March 14, 2016 18:41https://github.com/microsoft/TypeScript/pull/7480#event-589185857
allow string literals (unions of string literals?) as a type of an indexer #7656 https://github.com/microsoft/TypeScript/issues/7656
Index signature arguments are not type checked based on the specialized key type they are constrained to #7660 https://github.com/microsoft/TypeScript/issues/7660
Suggestion: polymorphic object and tuple member type references through literal types #7730 https://github.com/microsoft/TypeScript/issues/7730
https://github.com/mhegazy
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
Apr 5, 2016https://github.com/microsoft/TypeScript/pull/7480#issuecomment-206005323
Wesley Wigham (@weswigham)https://github.com/weswigham
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/7480
https://github.com/DanielRosenwasser
Daniel Rosenwasser (DanielRosenwasser)https://github.com/DanielRosenwasser
Domain: Literal Types https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Domain%3A%20Literal%20Types%22
Apr 6, 2016https://github.com/microsoft/TypeScript/pull/7480#event-617309682
DanielRosenwasserhttps://github.com/DanielRosenwasser
Apr 6, 2016 https://github.com/microsoft/TypeScript/pull/7480#discussion-diff-58765290
View reviewed changes https://github.com/microsoft/TypeScript/pull/7480/files/15e8aaa15c18d4116c9f70432d24dd8935f5b2cd#diff-96e89e6b2c0322354cdf5a518a145a0396659f12f32ff0ada489aace82e4da6f
tests/baselines/reference/negativeNumericLiteralTypes.errors.txthttps://github.com/microsoft/TypeScript/pull/7480/files#diff-96e89e6b2c0322354cdf5a518a145a0396659f12f32ff0ada489aace82e4da6f
Daniel Rosenwasser (DanielRosenwasser)https://github.com/DanielRosenwasser
Apr 6, 2016https://github.com/microsoft/TypeScript/pull/7480#discussion_r58765290
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/7480
Wesley Wigham (weswigham)https://github.com/weswigham
Apr 6, 2016https://github.com/microsoft/TypeScript/pull/7480#discussion_r58789371
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
#7235https://github.com/microsoft/TypeScript/pull/7235
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/7480
https://github.com/malibuzios
malibuzioshttps://github.com/malibuzios
Apr 9, 2016 https://github.com/microsoft/TypeScript/pull/7480#ref-issue-147105246
Number Literal Type support? #7982 https://github.com/microsoft/TypeScript/issues/7982
https://github.com/DanielRosenwasser
Daniel Rosenwasser (DanielRosenwasser)https://github.com/DanielRosenwasser
Apr 15, 2016 https://github.com/microsoft/TypeScript/pull/7480#ref-issue-148768680
Design Meeting Notes for 4/15/2016 #8112 https://github.com/microsoft/TypeScript/issues/8112
Wesley Wigham (weswigham)https://github.com/weswigham
April 26, 2016 02:10https://github.com/microsoft/TypeScript/pull/7480#commits-pushed-407adc3
https://github.com/weswigham
starting to flesh out numeric literal typeshttps://github.com/microsoft/TypeScript/pull/7480/commits/407adc3707d93e2f253d96e1d91420303e32ac27
407adc3https://github.com/microsoft/TypeScript/pull/7480/commits/407adc3707d93e2f253d96e1d91420303e32ac27
https://github.com/weswigham
Preserve numeric literal formatting when definining numeric literal t…https://github.com/microsoft/TypeScript/pull/7480/commits/87cc46e757eafb54b8706a2054e1d92fcb0869cb
87cc46ehttps://github.com/microsoft/TypeScript/pull/7480/commits/87cc46e757eafb54b8706a2054e1d92fcb0869cb
https://github.com/weswigham
stubhttps://github.com/microsoft/TypeScript/pull/7480/commits/d143390612f4deec5abf625f1f41240874279a7c
d143390https://github.com/microsoft/TypeScript/pull/7480/commits/d143390612f4deec5abf625f1f41240874279a7c
https://github.com/weswigham
handful of test cases to work withhttps://github.com/microsoft/TypeScript/pull/7480/commits/4f4e381898d5748552b438148005706bf502732d
4f4e381https://github.com/microsoft/TypeScript/pull/7480/commits/4f4e381898d5748552b438148005706bf502732d
https://github.com/weswigham
Build in NaN and Infinityhttps://github.com/microsoft/TypeScript/pull/7480/commits/a4f278975e1a7432a050be159bfeef0c25b25e87
a4f2789https://github.com/microsoft/TypeScript/pull/7480/commits/a4f278975e1a7432a050be159bfeef0c25b25e87
https://github.com/weswigham
change parsing a bit to make minuses better, broke some stuff in the …https://github.com/microsoft/TypeScript/pull/7480/commits/d80fbe53fc310551be09d546e55e44aff38c8911
d80fbe5https://github.com/microsoft/TypeScript/pull/7480/commits/d80fbe53fc310551be09d546e55e44aff38c8911
https://github.com/weswigham
Remove NaN/Infinity from testing libshttps://github.com/microsoft/TypeScript/pull/7480/commits/74fe1ef8638e5b76bde9f17ed31cacb557ced439
74fe1efhttps://github.com/microsoft/TypeScript/pull/7480/commits/74fe1ef8638e5b76bde9f17ed31cacb557ced439
https://github.com/weswigham
fix testshttps://github.com/microsoft/TypeScript/pull/7480/commits/2afea633f88e5ea77a932bec9ea01a19cb1d21b0
2afea63https://github.com/microsoft/TypeScript/pull/7480/commits/2afea633f88e5ea77a932bec9ea01a19cb1d21b0
https://github.com/weswigham
first look at baseline changes from numeric typeshttps://github.com/microsoft/TypeScript/pull/7480/commits/ba552ccf718995493026f29af092ad4d2ccf6069
ba552cchttps://github.com/microsoft/TypeScript/pull/7480/commits/ba552ccf718995493026f29af092ad4d2ccf6069
https://github.com/weswigham
Revert NaN and Infinity to number types when not used in type positionshttps://github.com/microsoft/TypeScript/pull/7480/commits/7562a9d05c170d46538d23aa40abff112e505e30
7562a9dhttps://github.com/microsoft/TypeScript/pull/7480/commits/7562a9d05c170d46538d23aa40abff112e505e30
https://github.com/weswigham
fix linthttps://github.com/microsoft/TypeScript/pull/7480/commits/e346855fd6f74d98b1ca41f657fa5a85cedb6e36
e346855https://github.com/microsoft/TypeScript/pull/7480/commits/e346855fd6f74d98b1ca41f657fa5a85cedb6e36
https://github.com/weswigham
rework how number types are made to fix node 0.10 octal literalshttps://github.com/microsoft/TypeScript/pull/7480/commits/659d2e069342bba69909e41cd2648274ee27ef45
659d2e0https://github.com/microsoft/TypeScript/pull/7480/commits/659d2e069342bba69909e41cd2648274ee27ef45
https://github.com/weswigham
Fix symbol baselines post-rebasehttps://github.com/microsoft/TypeScript/pull/7480/commits/fcb4f9b6ee881bf371dd8548d2b702969d327418
fcb4f9bhttps://github.com/microsoft/TypeScript/pull/7480/commits/fcb4f9b6ee881bf371dd8548d2b702969d327418
https://github.com/weswigham
Wesley Wigham (weswigham)https://github.com/weswigham
force-pushedhttps://github.com/microsoft/TypeScript/compare/15e8aaa15c18d4116c9f70432d24dd8935f5b2cd..fcb4f9b6ee881bf371dd8548d2b702969d327418
15e8aaahttps://github.com/microsoft/TypeScript/commit/15e8aaa15c18d4116c9f70432d24dd8935f5b2cd
fcb4f9bhttps://github.com/microsoft/TypeScript/commit/fcb4f9b6ee881bf371dd8548d2b702969d327418
Compare https://github.com/microsoft/TypeScript/compare/15e8aaa15c18d4116c9f70432d24dd8935f5b2cd..fcb4f9b6ee881bf371dd8548d2b702969d327418
April 26, 2016 06:41https://github.com/microsoft/TypeScript/pull/7480#event-641036982
https://github.com/weswigham
Wesley Wigham (weswigham)https://github.com/weswigham
Jun 17, 2016https://github.com/microsoft/TypeScript/pull/7480#issuecomment-226888096
Anders Hejlsberg (@ahejlsberg)https://github.com/ahejlsberg
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/7480
https://github.com/ahejlsberg
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
Jun 29, 2016 https://github.com/microsoft/TypeScript/pull/7480#ref-pullrequest-162831239
Number, enum, and boolean literal types #9407 https://github.com/microsoft/TypeScript/pull/9407
https://github.com/ahejlsberg
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
Jul 28, 2016https://github.com/microsoft/TypeScript/pull/7480#issuecomment-236017383
Wesley Wigham (@weswigham)https://github.com/weswigham
#9407https://github.com/microsoft/TypeScript/pull/9407
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/7480
https://github.com/weswigham
Wesley Wigham (weswigham)https://github.com/weswigham
Jul 29, 2016https://github.com/microsoft/TypeScript/pull/7480#issuecomment-236311655
Anders Hejlsberg (@ahejlsberg)https://github.com/ahejlsberg
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/7480
https://github.com/weswigham
Wesley Wigham (weswigham)https://github.com/weswigham
Jul 29, 2016https://github.com/microsoft/TypeScript/pull/7480#event-739811472
https://github.com/weswigham
Wesley Wigham (weswigham)https://github.com/weswigham
May 13, 2017 23:38https://github.com/microsoft/TypeScript/pull/7480#event-1081134971
https://github.com/KiaraGrouwstra
kiara (KiaraGrouwstra)https://github.com/KiaraGrouwstra
May 18, 2017 https://github.com/microsoft/TypeScript/pull/7480#ref-issue-226901916
numeric literal types disrespect arithmetics #15645 https://github.com/microsoft/TypeScript/issues/15645
https://github.com/microsoft
Microsoft (microsoft)https://github.com/microsoft
Jun 19, 2018https://github.com/microsoft/TypeScript/pull/7480#event-1689642746
https://github.co/hiddenchars
https://github.com/microsoft/TypeScript/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F7480
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/7480
Domain: Literal Types https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Domain%3A%20Literal%20Types%22
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/7480
https://github.com/weswigham
https://github.com/mhegazy
https://github.com/ahejlsberg
https://github.com/DanielRosenwasser
https://github.com/msftclas
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.