Go to Latest
type alias ContentTypeToExtension
import { type ContentTypeToExtension } from "https://dotland.deno.dev/std@0.219.1/media_types/content_type.ts";

Maps content types to their corresponding file extensions.

definition: [K in keyof DB]: DB[K] extends { extensions: readonly string[]; } ? DB[K]["extensions"][number] : never