Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(symbols): ambient namespace members should always be considered as exported #342

Merged

Conversation

"Test5": 7,
"Test6": 8,
"Test7": 9,
"Test8": 10,
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These are now all exports.

20,
},
exports: {
"Exported2": 14,
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Notice this is the only export in this case.

"Other5": 8,
"Other6": 9,
"Other7": 10,
"Other8": 11,
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These are all exports because it's ambient.

3,
},
exports: {
"Interface": 1,
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Only the exported symbol is exported from the module.

Copy link
Member

@bartlomieju bartlomieju left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

RSLGTM

@dsherret dsherret merged commit 45d197c into denoland:main Dec 6, 2023
4 checks passed
@dsherret dsherret deleted the fix_symbols_ambient_namespace_exports branch December 6, 2023 00:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants