File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -717,10 +717,14 @@ function processSpecificDeclaration(
717
717
return
718
718
}
719
719
720
- if (
721
- declarationWithoutComments . startsWith ( 'export {' )
722
- || declarationWithoutComments . startsWith ( 'export *' )
723
- ) {
720
+ if ( declarationWithoutComments . startsWith ( 'export *' ) ) {
721
+ state . exportAllStatements . push ( declarationWithoutComments )
722
+ debugLog ( state , 'export-all-declaration' , `Found export all declaration: ${ declarationWithoutComments } ` )
723
+ state . dtsLines . push ( fullDeclaration )
724
+ return
725
+ }
726
+
727
+ if ( declarationWithoutComments . startsWith ( 'export {' ) ) {
724
728
debugLog ( state , 'export-declaration' , `Found export declaration: ${ declarationWithoutComments } ` )
725
729
state . dtsLines . push ( fullDeclaration )
726
730
return
You can’t perform that action at this time.
0 commit comments