raymondcamden’s avatarraymondcamden’s Twitter Archive—№ 62,309

  1. TypeScript question (two of em): When writing .then(res => res.json()) what type is res? My linter isn't allowing a default any. Secondly - "fetch" itself is not defined - how do I define that?
    1. …in reply to @raymondcamden
      Disregard - was writing a Code extension and duh - Fetch isn't in Node - it's a browser thing