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

feat: support stripping internal types #87

Merged
merged 2 commits into from
Aug 22, 2024
Merged

feat: support stripping internal types #87

merged 2 commits into from
Aug 22, 2024

Conversation

dummdidumm
Copy link
Collaborator

@dummdidumm dummdidumm commented Aug 21, 2024

... using @internal JSDoc tags, if the stripInternal tsconfig compiler option is enabled. This means types annotated with @internal will be stripped both from .js/ts files going through the TS program aswell as d.ts files going through our logic

part of sveltejs/svelte#12292

fixes #63

... using `@internal` JSDoc tags, if the `stripInternal` tsconfig compiler option is enabled. This means types annotated with `@internal` will be stripped both from .js/ts files going through the TS program aswell as d.ts files going through our logic

part of sveltejs/svelte#12292
@dummdidumm
Copy link
Collaborator Author

dummdidumm commented Aug 21, 2024

I have no idea what's going on with CI, but all tests passed locally for me (maybe someone with a non-windows system should run them too, just to make sure)

@Rich-Harris
Copy link
Owner

it seems unrelated to the PR — passed for me locally too. maybe we just try again tomorrow?

image

@dummdidumm
Copy link
Collaborator Author

No idea why the setup action was pinned to an old version - that was the problem, there was an error fixed in a later version of 2.x recently, but I don't see a reason to not just bump to v4 instead.

Anyway, this is good to go now.

@Rich-Harris
Copy link
Owner

published! great addition

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.

support @internal jsdoc annotation
2 participants