Skip to content

Conversation

silverwind
Copy link
Contributor

  • Export existing types with TextExpander prefix. This is not breaking because previous unprefixed types were not being exported.
  • Add and export type for TextExpanderChangeEvent

@silverwind silverwind changed the title Improve types Improve and export types Jan 26, 2025
Copy link
Contributor

@keithamus keithamus left a comment

Choose a reason for hiding this comment

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

LGTM

@joshblack joshblack merged commit 4a8fe03 into github:main Jan 29, 2025
1 check passed
@silverwind silverwind deleted the types branch January 29, 2025 19:21
@silverwind
Copy link
Contributor Author

silverwind commented Jan 29, 2025

Trying to make use of these types, I see there is the problem that index.d.ts does not export them, so instead of importing from @github/text-expander-element, one has to import from @github/text-expander-element/dist/text-expander-element.d.ts. Maybe I will send another PR to fix that later.

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.

4 participants