---
title: "Discussion on \"How to Use TypeScript to Accumulate Types:  Typing ALL possible fetch() Results\" | Hashnode"
description: "Discussion on \"How to Use TypeScript to Accumulate Types:  Typing ALL possible fetch() Results\". Learn a nice TypeScript script and see it in action in dr-fetch, which is capable of typing all possible bodies of an HTTP response."
url: "https://hashnode.com/posts/how-to-use-typescript-to-accumulate-types-typing-all-possible-fetch-results/674ba3e7c715a7010fe01117"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to Use TypeScript to Accumulate Types: Typing ALL possible fetch() Results](https://webjose.hashnode.dev/how-to-use-typescript-to-accumulate-types-typing-all-possible-fetch-results?utm_source=hashnode&utm_medium=feed)

Learn a nice TypeScript script and see it in action in dr-fetch, which is capable of typing all possible bodies of an HTTP response.

Nov 30, 2024 · 8 min read · webjose.hashnode.dev  
Updated Feb 22, 2025  
Read the article

-   [#typescript](https://hashnode.com/tag/typescript)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#web-development](https://hashnode.com/tag/web-development)
-   [#nodejs](https://hashnode.com/tag/nodejs)

## Written by

[José Pablo Ramírez Vargas](https://hashnode.com/@webJose)

@webJose

  
[View profile](https://hashnode.com/@webJose)

Senior Software Developer @ Intel

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
