* 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>
* Added definition for jquery-visible library
* Added EOL for last lines of jquery-visible definition and test files
* Renaming definition to df-visible in order to match package name in bower
* Add explicit string types to GeoJson definition
The type names for each interface are explicit in the GeoJson spec and this uses recent TypeScript support for string valued types to make this much more obvious and to check this for us.
* Add explicit type hints to turf tests
Shape-based inferencing in Typescript does not currently appear to support string literal types in TS 1.8.
Note that the second parameter (mixin) of this method is documented on
the website as being of type string, but both the qunit source code and
examples on the same documentation page tell us it's actually of type
any.
* Added empty() and size() methods to interface Enter<Datum>. As per D3 API these methods are defined on the enter selection.
* Added test function testEnterSizeEmpty() for .enter().empty() and .enter.size() methods.
* reflux: add ListenerMixin
* reflux: allow Reflux.createAction()
`options` argument is optional.
Readme says: "Create an action by calling Reflux.createAction with an optional options object."