tools
tools copied to clipboard
feat(rome_js_parser): declare generator function in an ambient context
Summary
Add Generators are not allowed in an ambient context. error for generator functions in an ambient context.
For function overloading Rome has an error: https://github.com/rome/tools/blob/4084d3e18e5d38b006e0dc99b3ce5975f9e01bf2/crates/rome_js_parser/src/syntax/function.rs#L280-L285
Test Plan
cargo test
Deploy Preview for docs-rometools ready!
Built without sensitive environment variables
| Name | Link |
|---|---|
| Latest commit | 6acf7d476b55518fc3cc0c5ff2003755efa51153 |
| Latest deploy log | https://app.netlify.com/sites/docs-rometools/deploys/63774de4594da20008c5eb19 |
| Deploy Preview | https://deploy-preview-3778--docs-rometools.netlify.app/playground |
| Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site settings.