Skip to content

Conversation

quanquan2100
Copy link
Contributor

@quanquan2100 quanquan2100 commented Mar 18, 2025

Summary

Fix inaccurate type descriptions in RslibConfig using @override annotation

Related Links

GH-856

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).

docs: fix defineConfig type hint
@Timeless0911 Timeless0911 changed the title docs: fix defineConfig type hint fix: override default values of some type descriptions Mar 18, 2025
@Timeless0911
Copy link
Contributor

export interface LibConfig extends EnvironmentConfig { This line use the type EnvironmentConfig, we also need to override in this type when we configure output.target in lib array.

Copy link
Contributor

@Timeless0911 Timeless0911 left a comment

Choose a reason for hiding this comment

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

LGTM, thank you!

@Timeless0911 Timeless0911 merged commit be40061 into web-infra-dev:main Mar 18, 2025
14 checks passed
@Timeless0911 Timeless0911 mentioned this pull request Mar 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants