Fetch
import type { Fetch } from "https://raw.githubusercontent.com/takker99/deno-gyazo/0.1.2/util.ts";
networkからdataをとってくる処理
interfaceはfetch()
と同じ
type Fetch = (input: string | Request, init?: RequestInit) => Promise<Response>;
import type { Fetch } from "https://raw.githubusercontent.com/takker99/deno-gyazo/0.1.2/util.ts";
networkからdataをとってくる処理
interfaceはfetch()
と同じ