Closed
Description
It’s kind of duplicate of #153 but I’d like to bring it up again.
Since there is a new collision-resolver feature, some types\enums\variables have a new name in a final file (like export type Type$1 = string
). The main idea is to have a main TS logic works properly inside a d.ts file and to export only the result of this logic. So it looks like these types should be hidden by default.
For example, it may confuse someone if some autocomplete tools in an IDE suggest something like do you want to import Type$1 from ‘lib’?
I know about the exportReferencedTypes
flag, but according to the above I think there are no much sense of this feature and maybe it’s better to remove it at all (make it false) or to disable it by default