zellwk / zl-fetch

A library that makes the Fetch API a breeze
MIT License
285 stars 34 forks source link

TS is throwing tantrum #34

Open juji opened 3 months ago

juji commented 3 months ago

Typescript is complaining about this lib not having type.

Since this lib comes with a JsDoc, we can add auto type by executing this script:

npx -p typescript tsc ./src/*.js --declaration --allowJs --emitDeclarationOnly --outDir src

Checkout #33 for PR