Closed manuelmhtr closed 2 years ago
Hi @kherock @benj-dobs
About https://github.com/manuelmhtr/countries-and-timezones/pull/39, I also think it's important to keep the CountryCode
and TimezoneName
types.
I came with this workaround to modify the .d.ts
file after being exported by Rollup. It's not the cleanest solution but it might work while rollup-plugin-dts
plugin gets improved.
Do you think it may work? Am I missing something?
This seems like a pretty good (hopefully temporary) workaround in my opinion - it lets us get a fix out quickly without breaking any existing integrations. @kherock's suggestion of patching rollup-plugin-dts
would be neater in the long run.
Ok, then I propose the next plan:
include
?rollup-plugin-dts
is ready, remove this solution.
Another proposal to close This is a temporary solution to https://github.com/manuelmhtr/countries-and-timezones/issues/38