Skip to content

Glossary: TypeScript Beyond the Basics

RequestInit

Also written: init

The type of `fetch`'s second argument. It sets the `method`, `headers` and `body` of the request.

Where the book teaches it

Related terms

fetchHTTP method