From ad8b0974b6cd9943e06330df3f18b9eb1aee1c60 Mon Sep 17 00:00:00 2001 From: Harminder Virk Date: Thu, 28 Mar 2024 11:16:04 +0530 Subject: [PATCH] refactor: name default export for auto imports to work --- index.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/index.ts b/index.ts index 2f1d772..731b6aa 100644 --- a/index.ts +++ b/index.ts @@ -15,7 +15,7 @@ import { generatePng } from './src/files/png/generate.js' import { generateXlsx } from './src/files/xlsx/generate.js' import { generateCsv } from './src/files/csv/generate.js' -export default { +const fileGenerator = { generateCsv, generateDocx, generateGif, @@ -24,3 +24,5 @@ export default { generateXlsx, generatePng, } + +export default fileGenerator