Skip to content

Commit 0cd21ba

Browse files
authored
chore: remove unnecessary optional check (#5958)
1 parent b546282 commit 0cd21ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/compiler-sfc/src/rewriteDefault.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ export function rewriteDefault(
6666
`import { ${input.slice(
6767
specifier.local.start!,
6868
specifier.local.end!
69-
)} } from '${node.source?.value}'\n`
69+
)} } from '${node.source.value}'\n`
7070
)
7171
s.overwrite(specifier.start!, end, ``)
7272
s.append(`\nconst ${as} = ${specifier.local.name}`)

0 commit comments

Comments
 (0)