Skip to content

Commit 8c017a5

Browse files
committed
fix(xlsx): xlsx does not contain a default export (imported as 'XLSX')
ref: #1
1 parent 3461eb9 commit 8c017a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/converters/xlsx.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { ConverterOptions, ConverterResult } from "../types";
22
import { HtmlConverter } from "./html";
33
import * as fs from "fs";
4-
import XLSX from "xlsx";
4+
import * as XLSX from "xlsx";
55

66
export class XlsxConverter extends HtmlConverter {
77
async convert(local_path: string, options: ConverterOptions): Promise<ConverterResult> {

0 commit comments

Comments
 (0)