Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Fetch

import type { Fetch } from "https://raw.githubusercontent.com/takker99/deno-gyazo/0.1.2/mod.ts";

networkからdataをとってくる処理

interfaceはfetch()と同じ

type Fetch = (input: string | Request, init?: RequestInit) => Promise<Response>;

§Type

§
(input: string | Request, init?: RequestInit) => Promise<Response>
[src]