Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
ota-meshi merged 9 commits intomainfromfeat/async
Jul 16, 2025
Merged

feat: async Svelte#725

ota-meshi merged 9 commits intomainfromfeat/async
Jul 16, 2025

Conversation

baseballyama
Copy link
Member

@baseballyamabaseballyama commentedJul 15, 2025
edited
Loading

@changeset-botchangeset-bot
Copy link

changeset-botbot commentedJul 15, 2025
edited
Loading

🦋 Changeset detected

Latest commit:003653c

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
NameType
svelte-eslint-parserMinor

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

@github-actionsGitHub Actions
Copy link
Contributor

github-actionsbot commentedJul 16, 2025
edited
Loading

Try the Instant Preview in Online Playground

ESLint Online Playground

Install the Instant Preview to Your Local

npm i https://pkg.pr.new/svelte-eslint-parser@003653c

Published Instant Preview Packages:

View Commit

@coveralls
Copy link

coveralls commentedJul 16, 2025
edited
Loading

Pull Request Test Coverage Report forBuild 16318899654

Details

  • 11 of11(100.0%) changed or added relevant lines in3 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at94.705%

TotalsCoverage Status
Change from baseBuild 15091829763:0.0%
Covered Lines:10558
Relevant Lines:11025

💛 -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.
Copy link
Member

@ota-meshiota-meshiJul 16, 2025
edited
Loading

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.

Suggested change
// Use type parameters to avoid `@typescript-eslint/no-unsafe-assignment` errors.

Copy link
MemberAuthor

Choose a reason for hiding this comment

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

removed:67b5adf

@baseballyama
Copy link
MemberAuthor

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(async () => await a + b)(); in virtual code?

@ota-meshi
Copy link
Member

ES2024 might be better, that's the ecmaVersion that ESLint v9.0.0 supports.

baseballyama reacted with thumbs up emoji

@baseballyamabaseballyama marked this pull request as ready for reviewJuly 16, 2025 12:03
Copy link
Member

@ota-meshiota-meshi left a comment

Choose a reason for hiding this comment

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

LGTM! Thank you!

@ota-meshiota-meshi merged commit1710145 intomainJul 16, 2025
12 checks passed
@ota-meshiota-meshi deleted the feat/async branchJuly 16, 2025 12:16
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@ota-meshiota-meshiota-meshi approved these changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

3 participants
@baseballyama@coveralls@ota-meshi

[8]ページ先頭

©2009-2025 Movatter.jp