nitro
nitro copied to clipboard
feat: Allow using `Symbol` as Method/Property name in `HybridObject`s
Introduces the new type margelo::nitro::PropName that can now also hold a Symbol. This can be used to expose Methods/Properties on a HybridObject under a Symbol key instead of just plain String keys.
One usecase for this would be to override the Symbol.hasInstance method. This PR now also uses this for "dispose" - which is now exposed under [Symbol.dispose] to comply with the using APIs in JS.
The latest updates on your projects. Learn more about Vercel for GitHub.
1 Skipped Deployment
| Project | Deployment | Preview | Comments | Updated (UTC) |
|---|---|---|---|---|
| nitro-docs | Oct 9, 2025 2:22pm |