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

[ServiceWorker] Refine error message and fix lint warning #418

Merged
merged 1 commit into from
May 23, 2024
Merged

[ServiceWorker] Refine error message and fix lint warning #418

merged 1 commit into from
May 23, 2024

Conversation

Neet-Nestor
Copy link
Contributor

@Neet-Nestor Neet-Nestor commented May 23, 2024

This PR

  • refines the error message in service worker initialization to make it more user-friendly;
  • resolves or suppresses ESLint warnings

@Neet-Nestor Neet-Nestor added the Tiny Tiny size PR (<10 lines of changes) label May 23, 2024
@@ -29,6 +29,7 @@ type RequestKind =
| "keepAlive"
| "heartbeat";

// eslint-disable-next-line @typescript-eslint/no-unused-vars
type ResponseKind =
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Though this is not used right now, it helps reader understand the event types so we should keep it.

@tqchen tqchen merged commit e8406e2 into mlc-ai:main May 23, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Tiny Tiny size PR (<10 lines of changes)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants