chore: fix missed type guard from dbc29c32
This commit is contained in:
parent
dbc29c32e3
commit
9664267793
@ -37,6 +37,7 @@ export function rewriteDefault(
|
||||
node.specifiers.forEach(specifier => {
|
||||
if (
|
||||
specifier.type === 'ExportSpecifier' &&
|
||||
specifier.exported.type === 'Identifier' &&
|
||||
specifier.exported.name === 'default'
|
||||
) {
|
||||
const end = specifier.end!
|
||||
|
Loading…
Reference in New Issue
Block a user