pasika 0.10.51 → 0.10.52
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -6332,7 +6332,7 @@ var supportFolderShapeRule = {
|
|
|
6332
6332
|
return {
|
|
6333
6333
|
Program(node) {
|
|
6334
6334
|
const source = context.sourceCode.text;
|
|
6335
|
-
const hasDirectExport = /export\s+(?:const|let|var|function|class|
|
|
6335
|
+
const hasDirectExport = /export\s+(?:const|let|var|function|class|interface|enum)\b/.test(source) || /export\s+type\s+[A-Za-z_$][\w$]*(?:\s*<[^;=]*>)?\s*=/.test(source);
|
|
6336
6336
|
const exportedFiles = /* @__PURE__ */ new Set();
|
|
6337
6337
|
let hasAnyReExport = false;
|
|
6338
6338
|
const exportPattern = /export\s+(?:type\s+)?(?:\{[^}]*\}|\*)\s+from\s+["'](?<specifier>[^"']+)["']/g;
|