[ ] ๐ Documentation (updates to the documentation, readme, or JSdoc annotations)
[ ] ๐ Bug fix (a non-breaking change that fixes an issue)
[ ] ๐ Enhancement (improving an existing functionality like performance)
[ ] โจ New feature (a non-breaking change that adds functionality)
[x] ๐งน Chore (updates to the build process or auxiliary tools and libraries)
[ ] โ ๏ธ Breaking change (fix or feature that would cause existing functionality to change)
๐ Description
resolveModuleExportNames function returns Promise<string[]>. Here we have called it but h3Exports is returning any. I have explicitly annotated string[] for h3Exports. Also below we are filtering h3Exports. I think filter can be used only with arrays. That is why I think we may explicitly annotate h3Exports here.
๐ Linked issue
โ Type of change
๐ Description
resolveModuleExportNames
function returnsPromise<string[]>
. Here we have called it buth3Exports
is returningany
. I have explicitly annotatedstring[]
forh3Exports
. Also below we are filteringh3Exports
. I thinkfilter
can be used only with arrays. That is why I think we may explicitly annotateh3Exports
here.๐ Checklist