Skip to content

Improve and export types - #72

Merged
joshblack merged 4 commits into
github:mainfrom
silverwind:types
Jan 29, 2025
Merged

joshblack merged 4 commits into
github:mainfrom
silverwind:types

Conversation

@silverwind

Copy link
Copy Markdown
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
Comment thread src/text-expander-element.ts Resolved
@silverwind silverwind changed the title Improve types Jan 26, 2025

@keithamus keithamus left a comment

Copy link
Copy Markdown
Contributor

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
@silverwind
silverwind deleted the types branch January 29, 2025 19:21
@silverwind

silverwind commented Jan 29, 2025 •

Copy link
Copy Markdown
Contributor Author

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

4 participants