* Change the signatures of the _.assign* functions to use intersection types, following 4e4ffc7e.
* Redefine _.extend and _.extendWith from scratch by copy-paste-renaming _.assignIn and _.assignInWith (respectively).
* Uncomment lodash/extendWith module since it exists now.
* Redefine _.defaults using 6ff5a95d0 as a template.
* Flip the order of _.defaults intersected types so earlier arguments take precedence when a field is mentioned multiple times.
Also fix an extraneous type parameter on an _.assign overload.
* Rewrite most of the tests to remove the TResult parameter where appropriate. Add extendWith tests separate from extend tests.
* Fix bug with _.defaults where the explicit wrapper variant would return an implicit wrapper.
* Update lodash tests to remove a bunch of now-unnecessary type specification.
* Merge function with optional argument.
* Align function to 0.5.0 (by replacing callback by Promise.)
* Declare module for easier import.
* Format.
* Update version and author information.
* Use ES6 Promise directly.
Since DefinitelyTyped recommend compilation with `--target es6` and `--noImplicitAny` options.
* Revert "Use ES6 Promise directly."
Projects targeting es5 wouldn't compile due to the leak of ES6 Promise.
This reverts commit 7d022d153c0601384d920671a3150fa7bcacd166.
* Fixed header format.
* Allow buffers to be passed in fs for node v6.x
* Fix wrongly typed index in fs.realpath
Fixes the following errors:
- node.d.ts(1426,62): error TS1023: An index signature parameter type must be 'string' or 'number'.
- node.d.ts(1427,68): error TS1023: An index signature parameter type must be 'string' or 'number'.
* Makes xhr return a promise instead of void
Xhr takes an argument which determines it's return type--either
Promise (the default) or Deferred. Currently in the type definitions,
it returns void.
I've also commented out the "helper" methods (get, post, etc.), to
match the source code--they're commented out there as well.
* Comments out entire interface body
Removes the entire interface with helper methods.
* Adds back "helper" methods to xhr
This methods are included via the `util.addCommonMethods` call, and
so should be in the type definitions.
* Fixing favIconUrl property name typo for TabChangeInfo class
* Empty commit to trigger Travis CI
* Made direction parameter more specific by using string literal typing
* Add stripe subscription methods
Add root subscription methods, in addition to subscription methods that
are defined on customer objects.
https://stripe.com/docs/api/node#subscriptions
* Bump version to stripe-node 4.6.0
* Update customers.retrieve signature
* Fix wrong signature for stripe.customers.update
The return type was Promise<IList<customers.ICustomer>> when in fact it
should be Promise<customers.ICustomer> (it is a resource object, not a
list)
* Add created attribute to ISubscription interface
* Switch to ES6 imports
* Add attributes and length
* Various improvements + add more tests
- Fix destroy()
- Fix detach()
- Fix map()
- Add NotFoundError, NoRowsUpdatedError and NoRowsDeletedError on Model
* serialize() and toJSON() should return Object/Object[] instead of any
* Fix map()
* More tests taken from Bookshelf website + various fixes
- Fix Bookshelf.transaction return type
- Add id attribute on ModelBase
- Improve ModelBase.parse()
- Fix Model.query()
- Add a constructor to CollectionBase
- Fix CollectionBase.map()
- Fix Collection.attach()
- Fix Collection.query()
- Add Collection.EmptyError
- Fix LoadOptions and FetchOptions withRelated
* No need to specify Knex.QueryBuilder
* toJSON(): Object/Object[] is too restrictive, revert back to any/any[]
* Model.through() returns R, Collection.through() returns Collection<R>