Ran npm run style.fix added "line_ending" configuration to .editorconfig to match the results

This commit is contained in:
arran
2021-01-26 15:09:12 +11:00
parent e93b8032d8
commit 3ccf4bdfe3
2 changed files with 4 additions and 1 deletions

View File

@ -7,6 +7,7 @@ indent_style = space
indent_size = 4
insert_final_newline = true
trim_trailing_whitespace = true
end_of_line = lf
[*.md]
max_line_length = off

View File

@ -46,7 +46,9 @@ export interface IDocumentTemplate {
}
export class ImportDotx {
public async extract(data: Buffer | string | number[] | Uint8Array | ArrayBuffer | Blob | NodeJS.ReadableStream): Promise<IDocumentTemplate> {
public async extract(
data: Buffer | string | number[] | Uint8Array | ArrayBuffer | Blob | NodeJS.ReadableStream,
): Promise<IDocumentTemplate> {
const zipContent = await JSZip.loadAsync(data);
const documentContent = await zipContent.files["word/document.xml"].async("text");