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

Re-export the types in index.d.ts #75

Merged
merged 1 commit into from
Jan 30, 2025
Merged

Conversation

silverwind
Copy link
Contributor

@silverwind silverwind commented Jan 29, 2025

Followup to #72.

I'm sorry I missed this. This makes it possible to import the types from @github/text-expander-element directly instead of having to import from @github/text-expander-element/dist/text-expander-element.d.ts.

The specific export type * syntax is supported since Typescript 5.0.

@silverwind silverwind requested a review from a team as a code owner January 29, 2025 20:05
silverwind added a commit to go-gitea/gitea that referenced this pull request Jan 29, 2025
Update and use their newly exported types. Tested, works.

The import path is a bit suboptimal, to be fixed once
github/text-expander-element#75 is merged and
released.

Co-authored-by: Giteabot <[email protected]>
@joshblack joshblack merged commit 6df4207 into github:main Jan 30, 2025
1 check passed
@silverwind silverwind deleted the reexport branch January 30, 2025 17:32
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