refactor(napi/parser): export functions directly#13854
refactor(napi/parser): export functions directly#13854graphite-app[bot] merged 1 commit intomainfrom
Conversation
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
There was a problem hiding this comment.
Pull Request Overview
This PR refactors the export pattern in a parser module by moving from a centralized export statement to direct function exports. Instead of declaring functions and then listing them in an export { ... } statement, each function is now declared with the export keyword directly.
- Removed the centralized
export { ... }statement - Added
exportkeyword to individual function declarations - Improved visibility of which functions are exported from the module
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Merge activity
|
Pure refactor. Export functions directly with `export function` instead of an additional `export { ... }` statement. This makes it easier to see which functions are exported and which are not.
38e0b2e to
42b1000
Compare

Pure refactor. Export functions directly with
export functioninstead of an additionalexport { ... }statement. This makes it easier to see which functions are exported and which are not.