Add File alias to Document for backwards compatability

This commit is contained in:
Dolan
2018-01-31 00:32:13 +00:00
parent 6d0a267ba4
commit 35dbce3a68
11 changed files with 13 additions and 11 deletions

View File

@ -1,6 +1,6 @@
const docx = require('../build');
const doc = new docx.File({
const doc = new docx.Document({
creator: 'Clippy',
title: 'Sample Document',
description: 'A brief example of using docx',