Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added fetch api type definitions extracted from official dom lib usin…
…g ts-graft (#93) lib.fetch.d.ts includes all types from the dom lib needed to define the fetch function and the Request, Response, and Headers classes. The file was generated by ts-graft as follows: npm i --no-save typescript@4.2.3 \ && cat <<EOF > .ts-graftrc.yaml \ && npx ts-graft@1.0.1 \ && rm .ts-graftrc.yaml \ && npm un typescript grafts: - source: typescript/lib/lib.dom.d.ts output: lib.fetch.d.ts include: [RequestInfo, RequestInit, Response] EOF
- Loading branch information