Skip to main content
Module

x/lume/deps/media_types.ts>ContentTypeToExtension

🔥 Static site generator for Deno 🦕
Very Popular
Latest
type alias ContentTypeToExtension
import { type ContentTypeToExtension } from "https://deno.land/x/lume@v2.1.4/deps/media_types.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