Skip to content

this fixes typing issues for moeculer-web#357

Closed
fugufish wants to merge 1 commit intomoleculerjs:nextfrom
atomstackjs:fix_api_setting_schema_typing
Closed

this fixes typing issues for moeculer-web#357
fugufish wants to merge 1 commit intomoleculerjs:nextfrom
atomstackjs:fix_api_setting_schema_typing

Conversation

@fugufish
Copy link

declare is typically used to enhance an existing type declaration for a module, as this is the actual module, a declare block actually breaks the typings

declare is typically used to enhance an existing type declaration for a module, as this is the actual module, a declare block actually breaks the typings
@fugufish
Copy link
Author

The changes to the CHANGELOG.md were due to my markdown linter, I can revert that if you wish, it simpy adds spacing around the headers blocks.

Copy link
Member

@icebob icebob left a comment

Choose a reason for hiding this comment

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

Great job, thanks. Could you please update and resolve conflicts?

icebob-ai pushed a commit that referenced this pull request Mar 23, 2026
The `declare module "moleculer-web"` wrapper was incorrect since this is
the module's own type definition file, not an ambient declaration.
Removing it allows proper type inheritance and extension by consumers.

Based on PR #357 by @atomstackjs, adapted for the next branch.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@icebob-ai
Copy link
Contributor

Thank you for identifying this issue! The declare module wrapper removal has been incorporated into the next branch (0.11.x) with the necessary adaptations.

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.

3 participants