JSFiddle - React, Tailwind, and code Playground

by WoJWoJ

TypeScript

const myFetch = (): Promise<void | Response> => fetch('https://ip-api.com/json')
myFetch().then(r => r.json())