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/scrapbox-userscript-std/0.14.5/rest/util.ts";

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

interfaceはfetch()と同じ

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

§Type

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