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

x/docxml/mod.ts>ContentTypesXml#addDefault

TypeScript (component) library for building and parsing a DOCX file
Latest
method ContentTypesXml.prototype.addDefault
import { ContentTypesXml } from "https://deno.land/x/docxml@5.15.3/mod.ts";

Add a default content type association for a file extension.

Parameters

extension: string
contentType: FileMime