Skip to content

Commit cf00d9c

Browse files
committed
chore: fix types
1 parent 1ad23c6 commit cf00d9c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -552,7 +552,9 @@ class EnvironmentPluginContainer {
552552
}
553553
}
554554

555-
class PluginContext implements Omit<RollupPluginContext, 'cache'> {
555+
class PluginContext
556+
implements Omit<RollupPluginContext, 'cache' | 'emitChunk'>
557+
{
556558
ssr = false
557559
_scan = false
558560
_activeId: string | null = null
@@ -870,7 +872,7 @@ class LoadPluginContext extends PluginContext {
870872

871873
class TransformPluginContext
872874
extends LoadPluginContext
873-
implements Omit<RollupTransformPluginContext, 'cache'>
875+
implements Omit<RollupTransformPluginContext, 'cache' | 'emitChunk'>
874876
{
875877
filename: string
876878
originalCode: string

0 commit comments

Comments
 (0)