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

Add "context" typing on SvelteComponent options #6236

Merged
merged 4 commits into from
Apr 24, 2021

Conversation

qurafi
Copy link
Contributor

@qurafi qurafi commented Apr 24, 2021

Added missing "context" typing on SvelteComponentDev and SvelteComponentTyped options

new Component({
    target:parent,
    context: { // throws error on typescript
        key: value
    }
})

@dummdidumm dummdidumm merged commit a39fc8d into sveltejs:master Apr 24, 2021
@qurafi qurafi deleted the add-missing-context-types branch April 24, 2021 17:02
@Conduitry
Copy link
Member

This types fix has been released in 3.38.0 - thank you!

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