cors-anywhere icon indicating copy to clipboard operation
cors-anywhere copied to clipboard

TypeScript type declaration file

Open geopic opened this issue 5 years ago • 2 comments

If you want I can write a TypeScript type declaration file for this package so that TS developers can utilise the type-checking feature of the language as they use this package. Let me know if you are interested.

geopic avatar Aug 09 '20 13:08 geopic

It's welcome if it doesn't cause maintenance issues, for example by including a unit test that checks type that the type definition is still valid (so that I don't cause regressions as I evolve the library).

Rob--W avatar Aug 11 '20 00:08 Rob--W

Very well, I'll set about doing it now and will include some unit tests as well.

geopic avatar Aug 11 '20 10:08 geopic