Describe the bug
When the isolatedModules option is on re-exporting types has to be done using export type ... from ... otherwise typescript throws an error.
To Reproduce
Steps to reproduce the behavior:
- Set
compilerOptions.isolatedModules to true in tsconfig
- Run Action to write index.ts
- Exports are generated with a typescript error
Expected behavior
Types are exported using a separate export type statement along with the regular export
Screenshots

