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

setDefaults

import { setDefaults } from "https://raw.githubusercontent.com/takker99/scrapbox-userscript-std/0.14.5/rest/util.ts";

BaseOptionsの既定値を埋める

const setDefaults: <T extends BaseOptions = BaseOptions>(options: T) => Omit<T, "fetch" | "hostName"> & Required<Omit<BaseOptions, "sid">>;