josk icon indicating copy to clipboard operation
josk copied to clipboard

👨‍💻 Add types declaration file

Open climba03003 opened this issue 2 years ago • 1 comments

Closes #17

It should be good for the initial types. I do not change the package.json since this package provide both cjs and esm. Having the types field may get things weird in types resolving. .d.cts should match .cjs and .d.ts should match .js automatically.

climba03003 avatar Apr 18 '24 04:04 climba03003

@dr-dimitru Can you double check the current types if it meet the actual implementation?

climba03003 avatar Oct 14 '24 10:10 climba03003