Title: Cannot find name 'int' · Issue #1 · RandomOrg/JSON-RPC-JavaScript · GitHub
Open Graph Title: Cannot find name 'int' · Issue #1 · RandomOrg/JSON-RPC-JavaScript
X Title: Cannot find name 'int' · Issue #1 · RandomOrg/JSON-RPC-JavaScript
Description: With newer versions of Typescript, I am receiving the the following error from the RandomOrgClient.d.ts file: node_modules/@randomorg/core/types/RandomOrgClient.d.ts:1248:22 - error TS2304: Cannot find name 'int'. 1248 ticketCount: int; ...
Open Graph Description: With newer versions of Typescript, I am receiving the the following error from the RandomOrgClient.d.ts file: node_modules/@randomorg/core/types/RandomOrgClient.d.ts:1248:22 - error TS2304: Cannot ...
X Description: With newer versions of Typescript, I am receiving the the following error from the RandomOrgClient.d.ts file: node_modules/@randomorg/core/types/RandomOrgClient.d.ts:1248:22 - error TS2304: Cannot ...
Opengraph URL: https://github.com/RandomOrg/JSON-RPC-JavaScript/issues/1
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Cannot find name 'int'","articleBody":"With newer versions of Typescript, I am receiving the the following error from the `RandomOrgClient.d.ts` file:\r\n\r\n```shell\r\nnode_modules/@randomorg/core/types/RandomOrgClient.d.ts:1248:22 - error TS2304: Cannot find name 'int'.\r\n1248 ticketCount: int;\r\n```\r\n\r\nIt appears that changing this value to `number` instead of `int` resolves the issue, but I am unsure if there are other far reaching consequences to doing so.","author":{"url":"https://github.com/robert-koch","@type":"Person","name":"robert-koch"},"datePublished":"2023-11-30T18:44:18.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/1/JSON-RPC-JavaScript/issues/1"}
| 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:9e0459c1-dcce-db01-aeaf-0b985b553440 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CDF8:1F3491:1052834:170864A:69836941 |
| html-safe-nonce | 973bb5cd04305eee33d480386c88598d518aba4dfda3400ce00f6d090a075346 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDREY4OjFGMzQ5MToxMDUyODM0OjE3MDg2NEE6Njk4MzY5NDEiLCJ2aXNpdG9yX2lkIjoiNTEyMjg0NTc3NjIwMDAzNDYyNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 3f0a84b19f4270d67e0bf4a661126fcd897e6f7e8dd037a2e4eac69a4af53a9a |
| hovercard-subject-tag | issue:2019298481 |
| 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/RandomOrg/JSON-RPC-JavaScript/1/issue_layout |
| twitter:image | https://opengraph.githubassets.com/72a9abec2e5729a55d755bfa3ab5f3934ec0db5dfce795dbc85adc120e5dd813/RandomOrg/JSON-RPC-JavaScript/issues/1 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/72a9abec2e5729a55d755bfa3ab5f3934ec0db5dfce795dbc85adc120e5dd813/RandomOrg/JSON-RPC-JavaScript/issues/1 |
| og:image:alt | With newer versions of Typescript, I am receiving the the following error from the RandomOrgClient.d.ts file: node_modules/@randomorg/core/types/RandomOrgClient.d.ts:1248:22 - error TS2304: Cannot ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | robert-koch |
| hostname | github.com |
| expected-hostname | github.com |
| None | ab9e68a8aa0e5ce51016e7614bd87e14762cbdbb53b8f7bdc413f61d6c4e97c5 |
| turbo-cache-control | no-preview |
| go-import | github.com/RandomOrg/JSON-RPC-JavaScript git https://github.com/RandomOrg/JSON-RPC-JavaScript.git |
| octolytics-dimension-user_id | 3757089 |
| octolytics-dimension-user_login | RandomOrg |
| octolytics-dimension-repository_id | 432996492 |
| octolytics-dimension-repository_nwo | RandomOrg/JSON-RPC-JavaScript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 432996492 |
| octolytics-dimension-repository_network_root_nwo | RandomOrg/JSON-RPC-JavaScript |
| 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 | 79b9e26b080c910a8902907a207a553d3c1c5eff |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width