Skip to content

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

Merged
joshblack merged 1 commit into
github:mainfrom
silverwind:reexport
Jan 30, 2025
Merged

joshblack merged 1 commit into
github:mainfrom
silverwind:reexport

Conversation

@silverwind

@silverwind silverwind commented Jan 29, 2025 •

Copy link
Copy Markdown
Contributor

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 <teabot@gitea.io>
@joshblack
joshblack merged commit 6df4207 into github:main Jan 30, 2025
@silverwind
silverwind deleted the reexport branch January 30, 2025 17:32
zeekay pushed a commit to hanzoai/forge that referenced this pull request Jul 26, 2026
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 <teabot@gitea.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants