DefinitelyTyped/types/wegame-api
J.C e2b882b95b [wegame-api] API improvment and bug fix for onXXXTouch APIs. (#34777)
* 1,added parameter for the callback member of `fail` for Unzip API
2,the argument of access is wrong, no it's fixed to `filePath -> path` (`accessSync` does not have return value in official site, don't know why...)
3,added `digest` for the argument in the callback of `fileInfo` API
4,added more doc info for download API to describe `filePath` and `res.tempFilePath`
5,added more doc info for `removeSavedFile` (remove file should use `unlink` in newer version)

* modify version number

* 1, fixed bug: the members of the argument object of the callback function for touch event (e.g.: onTouchMove onTouchDown etc) are incorrect.
2, add onTap etc members for API wx.createXXXButton
3, improve: change the array members of the callback function as ready only for some APIs

* fixed format error for dtslint

* add rule

* update index.d.ts

disable dt-header rule (but still according the header rule format), because the official version has the minor version number

* add `non-npm package` for header for the new rule

* restore to the default state

* misunderstand about the version

originally I thought the version should be matched with the lib version, so changed it frequently, but that's just a misunderstanding, let's start to maintain this defintion from 2.6 as the first version number :)
2019-04-19 11:47:56 -07:00
..
index.d.ts
tsconfig.json
tslint.json
wegame-api-tests.ts