Closed hfhchan-plb closed 1 year ago
Hi. You're saying that "an error remains" but can you prove it with a screenshot of an actual error message or stack trace?
Also, the original merge request was created by @josh- so you could consult him for any further questions. I personally am not using TypeScript.
So besides {index,metadata*,examples*}.d.ts
, types.d.ts
also needs to be cloned to types.d.cts
as well, and all references in the *.d.cts
files now need to reference types.d.cts
instead of types.d.ts
.
I see. Ok. Published libphonenumber-js@1.10.42
.
A previous commit https://github.com/catamphetamine/libphonenumber-js/commit/55409b3dc37a018f556ec305b48d2e81dc2807a5 fixed the ts(1479) error when importing
libphonenumber-js
, but an error remains insideindex.d.cts
because./types.d.js
does not have a./types.d.cjs
equivalent.