Fix error message typos

This commit is contained in:
askoufis
2021-09-18 22:42:56 +10:00
parent bf884c8d13
commit a2566e92d2

View File

@ -215,7 +215,7 @@ export class ImportDotx {
}
const headers = headersXmlArray.map((item) => {
if (item._attributes === undefined) {
throw Error("header referecne element has no attributes");
throw Error("header reference element has no attributes");
}
return {
type: item._attributes["w:type"] as HeaderFooterReferenceType,
@ -235,7 +235,7 @@ export class ImportDotx {
const footers = footersXmlArray.map((item) => {
if (item._attributes === undefined) {
throw Error("footer referecne element has no attributes");
throw Error("footer reference element has no attributes");
}
return {
type: item._attributes["w:type"] as HeaderFooterReferenceType,