Skip to content

Commit

Permalink
refactor: name default export for auto imports to work
Browse files Browse the repository at this point in the history
  • Loading branch information
thetutlage committed Mar 28, 2024
1 parent 63b7ad4 commit ad8b097
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -24,3 +24,5 @@ export default {
generateXlsx,
generatePng,
}

export default fileGenerator

0 comments on commit ad8b097

Please sign in to comment.