fix(babel-types): Add assertions to ExportAllDeclaration (#12273)
This commit is contained in:
@@ -1401,6 +1401,12 @@ defineType("ExportAllDeclaration", {
|
||||
source: {
|
||||
validate: assertNodeType("StringLiteral"),
|
||||
},
|
||||
assertions: {
|
||||
validate: chain(
|
||||
assertValueType("array"),
|
||||
assertNodeType("ImportAttribute"),
|
||||
),
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user