pipipi-pikachu / pptxtojson

将 .pptx 文件转为可读的 json 数据 丨Office PowerPoint(.pptx) file to JSON

Home Page:https://pipipi-pikachu.github.io/pptxtojson/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

wrong type export

eitherme opened this issue · comments

I found this package very useful for converting pptx to json, but when used in typescript I am encountering some errors one of them is the type of parse function
parse is an aysnc function, but it's type exported as normal function

export const parse: (file: ArrayBuffer) => {
  slides: Slide[]
  size: {
    width: number
    height: number
  }
}

fixed