Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add missing Headers interface augmentation from lib.dom.iterable.d.ts #97

Merged
merged 1 commit into from Mar 19, 2021

Commits on Mar 19, 2021

  1. add missing Headers interface augmentation from lib.dom.iterable.d.ts

    declaration files were generated and tested with the following command:
    
    npm i --no-save typescript@4.2.3 \
    && cat <<EOF > .ts-graftrc.yaml \
    && npx ts-graft@1.0.1 \
    && rm .ts-graftrc.yaml \
    && npx tsc --lib ES2016 --target ES2016 --noEmit index.d.ts \
    && npm un typescript
    grafts:
    - source: typescript/lib/lib.dom.d.ts
      output: lib.fetch.d.ts
      include:
        - BodyInit
        - HeadersInit
        - RequestInfo
        - RequestInit
        - Response
        - ResponseInit
    - source: typescript/lib/lib.dom.iterable.d.ts
      output: lib.fetch.dom.iterable.d.ts
      include:
        - Headers
    EOF
    jstewmon committed Mar 19, 2021
    Copy the full SHA
    215e1ca View commit details
    Browse the repository at this point in the history