* fix: type QueryRenderer environment prop as IEnvironment
* add test supplying ReactRelayContext.environment as value for QueryRenderer.props.environment
* Update from figma.d.ts. Changes: ran prettier based on settings in this repo, added void return type as necessary.
* Use any directly for ClientStorage
* Fix issues with invoice and taxRate
* Implement changes requested by pushplay
* Use IOptionsMetadata and add line breaks
* Remove whitespaces with prettier
* Add missing tax_amounts to invoice lines
* Add tax rates to invoice line
* Improve lodash omit typings
When omitting multiple properties, properly type-narrow the response
* More specific types first
* only apply to new typescript
* Revert "More specific types first"
This reverts commit e3d681009f9e96d3fb8f881a20b241e595d8fb29.
* Revert "Improve lodash omit typings"
This reverts commit b95d8fce5116449068372f53b143baafb49ec8cf.
* [mongoose] fixes lean return type
commit https://github.com/DefinitelyTyped/DefinitelyTyped/commit/c74f860f8b80bb5542fbdafa0a81e260f2fec147#diff-ec6e6a45ee09ed93f5d81cb304c5a0b3 introduced typings for lean (instead of any).
I like this approach, but it breaks old code, because type script assume T is undefined in this case. Also it didn't respect find or findOne and always used T directly.
This approach fixes therefore two issues:
- by default (if no type is provided), it is any again (backswards compatiblity)
- Depending on the used functino it either returns the given type or an array of the given type.
* fix(lean): it can also return null
* 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 :)
* 1, change the parameter as optional for `success` callback of `DownfileParams` interface.
2, fixed bug: the parameter `callback` had a wrong type before for onProgressUpdate interface.
* fix bug for DownloadTask
1, change the parameter as optional for `success` callback of `DownfileParams` interface.
2, fixed bug: the parameter `callback` had a wrong type before for onProgressUpdate interface.
* update to match the official lib 2.9.3
* Updated definition to match gridstack v0.5.0
* added more code samples in doc
* added missing methods based on all methods in the code
* fixed unesseray white space, and lint issues if set to strict
this will become the base if/when I switch gridstack code base to TS
* Updated definition to match gridstack v0.5.0
* added more code samples in doc
* added missing methods based on all methods in the code
* fixed extra white space, and stricter lint issues (like in my projects)
this will become the base if/when I switch gridstack code base to TS now that I'm co-owner
* identation fix
* added GridStackWidgetType and changed all el: to that type
* fixed more indentation issues
* renamed to GridStackElement, added @example
* fixed cellHeight(val: number | string
* more @example
* renamed to GridstackOptions without I
* IGridstackOptions -> GridstackOptions rename as that was the only interface with cap I.
* angular and typescript style guide recomends not using I in front (just like classes) unlike C#
* Add transfer_group to type definitions for Stripe update charge. Documentation: https://stripe.com/docs/api/charges/update
* Added "transfer_group" as property on stripe.ITransfer
* 'transfer_group' on ITransfer can be 'null'
vfile references @types/node but types-publisher doesn't know that.
Instead, reference @types/node in vfile-location, since it now depends
on vfile instead of @types/vfile.
* Add createKeyRing declarations
* Add createCryptoKey declarations that don't quite work with all options
* apparently it worked with rotationPeriod
* add nanos field to make it happy
* function order
* run lint
* update package version from 1.3 to 1.5.1 in header
* remove patch version
* [next] Deprecate `next` and `next-server`
Next.js already includes its own TypeScript declaration as of version
9.0.0, so this guide is no longer necessary.
* fix types for packages that require next
* minor tests fix