Skip to main content
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
type alias ContentTypeToExtension
import { type ContentTypeToExtension } from "https://deno.land/std@0.214.0/media_types/mod.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