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

Preserve comments to enable deprecation warnings #59

Merged
merged 1 commit into from
Dec 1, 2023

Conversation

davemurphysf
Copy link
Contributor

Problem: right now, types/interfaces are being marked as deprecated, but then when the .d.ts files are generated, the comments are removed. By preserving the comments, we surface the deprecation warnings when this library is used.

Since this package is intended to be used as a library for plugins, presumably the plugin importing this package will strip the comments via minification. Also, this should only be server-side code, so package size is not a concern.

@davemurphysf davemurphysf added the bump minor Bump minor version when this PR gets merged label Nov 30, 2023
@davemurphysf davemurphysf merged commit 90af8bf into main Dec 1, 2023
@davemurphysf davemurphysf deleted the dave/preserve-comments branch December 1, 2023 02:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bump minor Bump minor version when this PR gets merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants