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
Go to Latest
method ContentTypesXml.prototype.addDefaults
import { ContentTypesXml } from "https://deno.land/x/docxml@5.5.1/mod.ts";

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

Parameters

defaults: Array<ContentTypeDefault>