diff --git a/dist/index.js b/dist/index.js index 8ee3e72e2482671ef48d496d0c2c302a0d8a633a..69e9efced4c3798d223b3444b88582085800905f 100644 --- a/dist/index.js +++ b/dist/index.js @@ -1,4 +1,7 @@ "use strict"; +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; Object.defineProperty(exports, "__esModule", { value: true }); -const pdfParser_1 = require("./pdfParser"); +const pdfParser_1 = __importDefault(require("./pdfParser")); exports.default = pdfParser_1.default; diff --git a/dist/pdfParser.js b/dist/pdfParser.js index 45a9adc60eebb66b19dc0a9bbf58632d4d7f2af7..0677a9c0ef9275384253b8e9d036e4d48c760e43 100644 --- a/dist/pdfParser.js +++ b/dist/pdfParser.js @@ -8,8 +8,11 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge step((generator = generator.apply(thisArg, _arguments || [])).next()); }); }; +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; Object.defineProperty(exports, "__esModule", { value: true }); -const verify_pdf_1 = require("@ninja-labs/verify-pdf"); +const verify_pdf_1 = __importDefault(require("@ninja-labs/verify-pdf")); const pdfdataextract_1 = require("pdfdataextract"); const config_1 = require("./config"); class PDFparser { diff --git a/tsconfig.json b/tsconfig.json index 090b2c41f2dc035bc8181957140f4b7d5e8f456d..c8ea31ebbc2ed30d3d86c994d0ff45136164a80d 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -5,7 +5,7 @@ "declaration": true, "outDir": "./dist", "allowJs": true, - "allowSyntheticDefaultImports": true + "esModuleInterop": true }, "include": ["src/**/*"] }