diff --git a/index.js b/index.js index 22ff926..3f4b022 100644 --- a/index.js +++ b/index.js @@ -195,7 +195,8 @@ exploders.ExportNamedDeclaration = (node, exploded) => { t.isTSInterfaceDeclaration(declaration) || t.isTSEnumDeclaration(declaration) || t.isTSDeclareFunction(declaration) || - t.isTSDeclareMethod(declaration) + t.isTSDeclareMethod(declaration) || + t.isOpaqueType(declaration) ) { let name = declaration.id.name; exploded.exports.push(toModuleSpecifier(null, name, name, source, declaration.loc));