You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It'd be nice to have a flag that simply causes these types to not be re-exported (I'm not totally sure why they are in the first place). Workaround is just to delete the line that re-exports, for example, with sed:
sed -i "/^export [{]/d" $file.validator.ts
The text was updated successfully, but these errors were encountered:
I'm using a mac so when running the app locally I needed to do this to run the same command sed -i '' "/^export [{]/d" $file.validator.ts note the '' after the -i flag.
I hope hjfreyer's suggestion is considered at some point.
See this thread about the incompatibility of the two features: https://www.reddit.com/r/typescript/comments/e9span/isolatedmodules_prevents_exporting_a_type_from_a/
It'd be nice to have a flag that simply causes these types to not be re-exported (I'm not totally sure why they are in the first place). Workaround is just to delete the line that re-exports, for example, with sed:
The text was updated successfully, but these errors were encountered: