Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
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.8.0/mod.ts";

Add a default content type association for a file extension.

Parameters

extension: string
contentType: string | FileMime