Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
levy committed Nov 11, 2020
2 parents 36f5d55 + b911538 commit 04df0b2
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"main": "dist/excel-it.umd.js",
"module": "dist/excel-it.esm.js",
"unpkg": "dist/excel-it.min.js",
"types": "src/index.d.ts",
"scripts": {
"dev": "vue-styleguidist server",
"test": "jest",
Expand Down
26 changes: 26 additions & 0 deletions src/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
declare module '@femessage/excel-it' {
export const exportExcel: (
{
columns,
data,
fileName,
header,
merges
}: {
columns?: any[]
data?: any[]
fileName?: string
header?: any
merges?: any[]
},
callback?: () => void
) => void

export const importExcel: (ignore?: any[], callback?: () => void) => void

export const parseExcel: (
file: any,
ignore?: any[],
callback?: () => void
) => void
}

0 comments on commit 04df0b2

Please sign in to comment.