TypeScript-DOM-lib-generator icon indicating copy to clipboard operation
TypeScript-DOM-lib-generator copied to clipboard

fetch type "GET" or "HEAD" with a body should be a type error

Open kentcdodds opened this issue 1 year ago • 0 comments

You cannot make a GET or HEAD fetch request with a body. I would like this to result in a type error.

kentcdodds avatar Jan 25 '24 16:01 kentcdodds