Skip to content

Commit 508ec46

Browse files
committed
chore: fix type for now
1 parent d72d5df commit 508ec46

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/vite/src/node/server/pluginContainer.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ import { performance } from 'node:perf_hooks'
3535
import type {
3636
AsyncPluginHooks,
3737
CustomPluginOptions,
38-
EmittedFile,
3938
FunctionPluginHooks,
4039
InputOptions,
4140
LoadResult,
@@ -726,7 +725,8 @@ class PluginContext
726725
return [...this._container.watchFiles]
727726
}
728727

729-
emitFile(_assetOrFile: EmittedFile): string {
728+
// TODO: use EmittedFile type from rolldown
729+
emitFile(_assetOrFile: any): string {
730730
this._warnIncompatibleMethod(`emitFile`)
731731
return ''
732732
}

0 commit comments

Comments
 (0)