Skip to main content
Module

x/docxml/mod.ts>ContentTypesXml#addDefaults

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

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

Parameters

defaults: Array<ContentTypeDefault>