chore: remove unnecessary optional check (#5958)
This commit is contained in:
parent
b5462822d6
commit
0cd21ba77c
@ -66,7 +66,7 @@ export function rewriteDefault(
|
||||
`import { ${input.slice(
|
||||
specifier.local.start!,
|
||||
specifier.local.end!
|
||||
)} } from '${node.source?.value}'\n`
|
||||
)} } from '${node.source.value}'\n`
|
||||
)
|
||||
s.overwrite(specifier.start!, end, ``)
|
||||
s.append(`\nconst ${as} = ${specifier.local.name}`)
|
||||
|
Loading…
Reference in New Issue
Block a user