Skip to content

Commit 739ef5b

Browse files
committed
chore: fix type
1 parent 6dcf093 commit 739ef5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ export const DEFAULT_INSPECTOR_OPTIONS: VitePluginInspectorOptions = {
135135
toggleButtonPos: 'top-right',
136136
appendTo: '',
137137
lazyLoad: false,
138-
launchEditor: process.env.LAUNCH_EDITOR ?? 'code',
138+
launchEditor: (process.env.LAUNCH_EDITOR ?? 'code') as VitePluginInspectorOptions['launchEditor'],
139139
} as const
140140

141141
const availableLaunchEditors = [

0 commit comments

Comments
 (0)