Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/fastro/utils/octokit.ts>recordToMap

Full Stack Framework for Deno, TypeScript, Preact JS and Tailwind CSS
Latest
function recordToMap
import { recordToMap } from "https://deno.land/x/fastro@v0.94.1/utils/octokit.ts";

Type Parameters

K extends string | number | symbol
V

Parameters

record: Record<K, { value: V; expiry: number; }>

Returns

Map<K, { value: V; expiry?: number; }>