Skip to content

Commit 5f85ebc

Browse files
committed
refactor: no undefined
1 parent 73398a7 commit 5f85ebc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/router/src/volar/entries/sfc-typed-router.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const plugin: VueLanguagePlugin<{ rootDir?: string }> = ({
2020
config,
2121
}) => {
2222
// Prioritize plugin options over tsconfig
23-
const rootDir = config?.rootDir ?? compilerOptions.rootDir
23+
const rootDir = config.rootDir ?? compilerOptions.rootDir
2424

2525
// Warn if no rootDir specified
2626
if (!rootDir) {

0 commit comments

Comments
 (0)