Skip to content

Commit

Permalink
fix: address linter errors
Browse files Browse the repository at this point in the history
  • Loading branch information
wxiaoyun committed Feb 3, 2025
1 parent c9b2625 commit 7bb52e8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/core/src/client/hmr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ function onError() {
}

// Establishing a WebSocket connection with the server.
function connect(fallback: boolean = false) {
function connect(fallback = false) {
let cfg = config;
if (fallback) {
cfg = resolvedConfig;
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/server/hmrFallback.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { promises as dns } from 'node:dns';
import { DevConfig, ServerConfig } from '../types/config';
import type { DevConfig, ServerConfig } from '../types/config';

type Hostname = {
host?: string;
Expand Down

0 comments on commit 7bb52e8

Please sign in to comment.