Option to remove * as
reggi opened this issue · 1 comments
reggi commented
I am running this:
barrelsby -s filesystem -D -d
It's creating something like this:
import * as arraydifferencets from "./array/difference";
import * as arrayfilterHiddenFilests from "./array/filterHiddenFiles";
import * as arrayfilterUndefinedts from "./array/filterUndefined";
import * as arrayflattents from "./array/flatten";
Each of these are one-line functions. So they shouldn't be *'d.
I have to run something like this:
barrelsby -s filesystem -D -d && sed -i -e "s/ \* as//g" ./src/Fixture/index.ts
github-actions commented
No activity has been seen recently, marking as stale. If this is a mistake please reach out to a collaborator