Title: How to correctly pass enums? · Issue #2 · leonardssh/ragemp-javascript · GitHub
Open Graph Title: How to correctly pass enums? · Issue #2 · leonardssh/ragemp-javascript
X Title: How to correctly pass enums? · Issue #2 · leonardssh/ragemp-javascript
Description: When I add an enum as a shared type. I can pass it as a function parameter and it has no errors, but when building the project into it's "js" state, during runtime it says that this enum does not exist, I understand why, I just want to k...
Open Graph Description: When I add an enum as a shared type. I can pass it as a function parameter and it has no errors, but when building the project into it's "js" state, during runtime it says that this enum does not e...
X Description: When I add an enum as a shared type. I can pass it as a function parameter and it has no errors, but when building the project into it's "js" state, during runtime it says that this e...
Opengraph URL: https://github.com/leonardssh/ragemp-javascript/issues/2
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"How to correctly pass enums?","articleBody":"When I add an enum as a shared type. I can pass it as a function parameter and it has no errors, but when building the project into it's \"js\" state, during runtime it says that this enum does not exist, I understand why, I just want to know maybe there is some kind of work-around?","author":{"url":"https://github.com/dgrachov","@type":"Person","name":"dgrachov"},"datePublished":"2024-01-27T20:11:29.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/2/ragemp-javascript/issues/2"}
| 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:8edbb983-e3a0-3863-f097-02235698fa21 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C7A4:340C01:83FD6:B511F:6A4D1923 |
| html-safe-nonce | 1463dcdf9900c24a06bbb6cd99d16231cb510438bce61e4bfc3f7369bb692355 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDN0E0OjM0MEMwMTo4M0ZENjpCNTExRjo2QTREMTkyMyIsInZpc2l0b3JfaWQiOiI4MDk3MjAxOTAxMDQzMjU5NjgzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 6fbdf31a583dfeb095967c73bd71d2c05db8f2a54316551a2cad3fc8a89fc222 |
| hovercard-subject-tag | issue:2103784331 |
| 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/leonardssh/ragemp-javascript/2/issue_layout |
| twitter:image | https://opengraph.githubassets.com/8c382791ef888aeceda5b73653ac48e26b41b2e475e026b5b45f8991c8e4e29a/leonardssh/ragemp-javascript/issues/2 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/8c382791ef888aeceda5b73653ac48e26b41b2e475e026b5b45f8991c8e4e29a/leonardssh/ragemp-javascript/issues/2 |
| og:image:alt | When I add an enum as a shared type. I can pass it as a function parameter and it has no errors, but when building the project into it's "js" state, during runtime it says that this enum does not e... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | dgrachov |
| hostname | github.com |
| expected-hostname | github.com |
| None | bcb4661e6fb4fe8b394c51ea02ccdb2236d40dc59afc75a3bbba50bf6517134c |
| turbo-cache-control | no-preview |
| go-import | github.com/leonardssh/ragemp-javascript git https://github.com/leonardssh/ragemp-javascript.git |
| octolytics-dimension-user_id | 35312043 |
| octolytics-dimension-user_login | leonardssh |
| octolytics-dimension-repository_id | 432334371 |
| octolytics-dimension-repository_nwo | leonardssh/ragemp-javascript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 432334371 |
| octolytics-dimension-repository_network_root_nwo | leonardssh/ragemp-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 | fb70bd3c4b2bec429781b65419e912c66e2d5581 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width