Skip to content

Commit

Permalink
fix: typescript check
Browse files Browse the repository at this point in the history
  • Loading branch information
sheremet-va committed Sep 24, 2024
1 parent 784ee9b commit 5a04b5d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/vite/src/node/ssr/ssrModuleLoader.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import colors from 'picocolors'
import type { ModuleRunnerNode } from 'vite/module-runner'
import type { EvaluatedModuleNode } from 'vite/module-runner'
import { ESModulesEvaluator, ModuleRunner } from 'vite/module-runner'
import type { ViteDevServer } from '../server'
import { unwrapId } from '../../shared/utils'
Expand Down Expand Up @@ -74,7 +74,7 @@ class SSRCompatModuleRunner extends ModuleRunner {

protected override async directRequest(
url: string,
mod: ModuleRunnerNode,
mod: EvaluatedModuleNode,
_callstack: string[],
): Promise<any> {
const id = mod.meta && 'id' in mod.meta && mod.meta.id
Expand Down

0 comments on commit 5a04b5d

Please sign in to comment.