Skip to main content
Module

x/docxml/mod.ts>ContentTypesXml#addDefault

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

Add a default content type association for a file extension.

Parameters

extension: string
contentType: string | FileMime