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(
717717 return
718718 }
719719
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 {' ) ) {
724728 debugLog ( state , 'export-declaration' , `Found export declaration: ${ declarationWithoutComments } ` )
725729 state . dtsLines . push ( fullDeclaration )
726730 return
You can’t perform that action at this time.
0 commit comments