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

x/docxml/mod.ts>ContentTypesXml#addDefaults

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

Add multiple default content type/file extension associations. Useful for cloning an existing content type register.

Parameters

defaults: Array<ContentTypeDefault>