-
-
Notifications
You must be signed in to change notification settings - Fork 23
feat: async Svelte #725
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
feat: async Svelte #725
Conversation
🦋 Changeset detectedLatest commit: 003653c The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Try the Instant Preview in Online PlaygroundInstall the Instant Preview to Your Local
Published Instant Preview Packages:
|
Pull Request Test Coverage Report for Build 16318899654Details
💛 - Coveralls |
"export function tracking(): boolean;", | ||
"export function root(fn: () => void | (() => void)): () => void;", | ||
]); | ||
break; | ||
} | ||
// See https://github.com/sveltejs/svelte/blob/3c4a8d425b8192dc11ea2af256d531c51c37ba5d/packages/svelte/types/index.d.ts#L2997 | ||
// See https://github.com/sveltejs/svelte/blob/3fa3dd78a1cbaa88a1571977b76bf6f02ed4231d/packages/svelte/types/index.d.ts#L3416 | ||
case "$props": { | ||
// Use type parameters to avoid `@typescript-eslint/no-unsafe-assignment` errors. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the new comment explains it better, so I think this old comment is no longer necessary.
// Use type parameters to avoid `@typescript-eslint/no-unsafe-assignment` errors. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removed: 67b5adf
I will add more tests later. @ota-meshi This PR needs to use ES2022 for top level await, What do you think? Is it ok? Or do we need to use some trick like |
ES2024 might be better, that's the ecmaVersion that ESLint v9.0.0 supports. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Thank you!
follow: sveltejs/svelte#15844, sveltejs/svelte#16376, sveltejs/svelte#16379