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

chore: improve typings #154

Merged
merged 1 commit into from
Jun 29, 2023
Merged

Conversation

layershifter
Copy link
Contributor

This PR:

  • add types for useShadowRoot & createProxy (required as you can't use existing exports)
    export function useShadowRoot() {
    return useContext(utils.Context);
    }
    export function createProxy(
  • exports Root type (can be optional)

@Wildhoney
Copy link
Owner

Thanks!

@Wildhoney Wildhoney merged commit 0dd9469 into Wildhoney:master Jun 29, 2023
@layershifter layershifter deleted the fix/improve-typings branch June 29, 2023 13:46
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.

2 participants