mirror of
https://github.com/openharmony/tools_previewer.git
synced 2026-07-19 22:33:34 -04:00
@@ -135,6 +135,9 @@ export function generateSourceFileElements(rootName: string, sourceFileEntity: S
|
||||
}
|
||||
if (sourceFileEntity.exportDeclarations.length > 0) {
|
||||
sourceFileEntity.exportDeclarations.forEach(value => {
|
||||
if (value.includes('export type {')) {
|
||||
return;
|
||||
}
|
||||
if (!value.includes('export {')) {
|
||||
mockApi += `${value}\n`;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user