@babel/plugin-transform-typescript
Advanced tools
Comparing version 7.18.6 to 7.18.8
@@ -18,3 +18,3 @@ "use strict"; | ||
if (!isExported && t.isProgram(path.parent)) { | ||
isExported = path.parent.body.some(stmt => t.isExportNamedDeclaration(stmt) && !stmt.source && stmt.specifiers.some(spec => t.isExportSpecifier(spec) && spec.local.name === name)); | ||
isExported = path.parent.body.some(stmt => t.isExportNamedDeclaration(stmt) && stmt.exportKind !== "type" && !stmt.source && stmt.specifiers.some(spec => t.isExportSpecifier(spec) && spec.exportKind !== "type" && spec.local.name === name)); | ||
} | ||
@@ -21,0 +21,0 @@ |
{ | ||
"name": "@babel/plugin-transform-typescript", | ||
"version": "7.18.6", | ||
"version": "7.18.8", | ||
"description": "Transform TypeScript into ES.next", | ||
@@ -30,4 +30,4 @@ "repository": { | ||
"@babel/helper-plugin-test-runner": "^7.18.6", | ||
"@babel/traverse": "^7.18.6", | ||
"@babel/types": "^7.18.6" | ||
"@babel/traverse": "^7.18.8", | ||
"@babel/types": "^7.18.8" | ||
}, | ||
@@ -34,0 +34,0 @@ "homepage": "https://babel.dev/docs/en/next/babel-plugin-transform-typescript", |
33140
129
1
5
0
23