Title: More specific JSON parse reviver argument in lib.d.ts · Issue #6955 · microsoft/TypeScript · GitHub
Open Graph Title: More specific JSON parse reviver argument in lib.d.ts · Issue #6955 · microsoft/TypeScript
X Title: More specific JSON parse reviver argument in lib.d.ts · Issue #6955 · microsoft/TypeScript
Description: Currently, the JSON interface in lib.d.ts declares the following: parse(text: string, reviver?: (key: any, value: any) => any): any; However, my understanding is that the spec guaratees a string for the key (see http://www.ecma-internati...
Open Graph Description: Currently, the JSON interface in lib.d.ts declares the following: parse(text: string, reviver?: (key: any, value: any) => any): any; However, my understanding is that the spec guaratees a string fo...
X Description: Currently, the JSON interface in lib.d.ts declares the following: parse(text: string, reviver?: (key: any, value: any) => any): any; However, my understanding is that the spec guaratees a string...
Opengraph URL: https://github.com/microsoft/TypeScript/issues/6955
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"More specific JSON parse reviver argument in lib.d.ts","articleBody":"Currently, the JSON interface in lib.d.ts declares the following:\n\n```\nparse(text: string, reviver?: (key: any, value: any) => any): any;\n```\n\nHowever, my understanding is that the spec guaratees a string for the key (see http://www.ecma-international.org/ecma-262/5.1/#sec-15.12.2 paragraph \"The abstract operation Walk ... String name ...\"), in consequence it could be more specific:\n\n```\nparse(text: string, reviver?: (key: string, value: any) => any): any;\n```\n","author":{"url":"https://github.com/avonwyss","@type":"Person","name":"avonwyss"},"datePublished":"2016-02-07T17:20:42Z","url":"https://github.com/microsoft/TypeScript/issues/6955"}
| 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:6a1ee8d8-379b-9c73-ac3e-b9859ebe9805 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AC9A:DA744:329192:458284:6B00C72F |
| html-safe-nonce | e5c0e7d9512d197b114a285b4ab67d5f862183db5280f36ba787f19f860f0a4c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQzlBOkRBNzQ0OjMyOTE5Mjo0NTgyODQ6NkIwMEM3MkYiLCJ2aXNpdG9yX2lkIjoiNjExMDk3MjUxMjQyMDU0NjM1MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 78f499d0f2b70791c07370f95109716522a7e111d26f246230a254fc21b6f096 |
| hovercard-subject-tag | issue:131987792 |
| 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/6955/issue_layout |
| twitter:image | https://opengraph.githubassets.com/45700f972eb908e318a38d3627a1f62719646ee67f9bc8aaab4c66d1a42f865f/microsoft/TypeScript/issues/6955 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/45700f972eb908e318a38d3627a1f62719646ee67f9bc8aaab4c66d1a42f865f/microsoft/TypeScript/issues/6955 |
| og:image:alt | Currently, the JSON interface in lib.d.ts declares the following: parse(text: string, reviver?: (key: any, value: any) => any): any; However, my understanding is that the spec guaratees a string fo... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | avonwyss |
| hostname | github.com |
| expected-hostname | github.com |
| None | 98dc00e171c204462a6f367482a0f8c3c6b5dbca99cd7390e82d2df49ce096e4 |
| 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 | ef013399cf0a3c324bea644a685d7c1e0f06b5b7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width