* Use "lib" in tsconfigs instead of "target".
Only add "dom" to libraries that need it. This is determined by a script, so many libraries that have "dom" maybe should not.
* Update new-package and readme
* Add back "target" where necessary
* Add memoizee definitions
* Fix common issues, added doc
* Removed blank line
* fix test
* Fix test methods
* Fix check style
* Fix check style
* Fixing semver header
* Fixing semver header
* `memoizee`: Clean up types
* Types 2.0 - Fix JS-quantities (#12739)
* Enable strict null checking per readme FAQ.
* Add tslint.json.
* Improve test file with project spec.
* Fix js-quantities d.ts, with adjustment of test.
* Add trailing newline to tslint.
* Simplify functional interface per linter.
* js-quantities: add readme examples to tests
* js-quantities: fix & clean declaration
* d3-selection: Mark before param of insert() as optional (#13090)
Selection<etc>.insert functions perfectly well without a `before` selector -- it does so in many d3 official examples.
This corrects the type signature to mark it as optional.
* [react-intl] bugfix for #12716 (#12906)
* fix for issue introduced in https://github.com/DefinitelyTyped/DefinitelyTyped/pull/12716
* injectIntl is now usable as class decorator
* fixed test
* use inferface instead of type
* format document
* fix chai-json-schema styling (#13537)
* googlemaps: Allow Marker.setAnimation(null) and Marker.setMap(null) (#13240)
* googlemaps: Allow Marker.setAnimation(null)
* Also, turn on strictNullChecks
* Allow new google.maps.Map(null) since it's technically possible with Google's example code from the docs
Signed-off-by: Iqbal Yusuf <iyusuf@corelogic.com>
* googlemaps: Allow Marker.setMap(null)
* Also, add more test code from the Google Maps API documentation
Signed-off-by: Grant Hutchins <ghutchins@pivotal.io>
* Added the brand property to the StripeCardData and fix style issues, lint (#13084)
* Add the "brand" field to StipeCardData
Added the StipeCardDataBrand type.
Added the `brand` property to the `StripeCardData` declaration with the type
`'Visa' | 'American Express' | 'MasterCard' | 'Discover JCB' | 'Diners Club' | 'Unknown'`
Reference: https://stripe.com/docs/api#card_object
* Run linter, fix issues. set --strictNullChecks.
Unsure about ambient declaration:
Removed as it seemed to be in error:
1. case was not correct
2. the export was the type of the global which is unconditionally defined.
3. this module does not seem a suitable candidate for a UMD declaration.
* Use header version of 0.0; explain Stripe versioning in comments
* Restore global
* Added tests
* 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
* 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 Stripe library definitions to version 4.5.0.
And update to API version 2016-03-07.
Ideally more tests need to be added, but I've ran out of time to
implement all that is needed. The tests cover just enough for now,
although they are by no means thorough.
* Fix CI test errors
* Add correct header options
Add correct header options to method definitions.
As I understand it, all methods have the ability to have header options,
and they should always appear after any data options, see:
https://github.com/stripe/stripe-node/blob/master/lib/StripeMethod.js#L61https://stripe.com/docs/connect/authentication
Tests still need to be added.
* Rename account to accounts
And fix other small bugs:
- L4626: Fix duplicate arg name
- L4999: Add missing method definition
* Rename CustomerSubscription Methods
Rename some CustomerSubscription methods that were named incorrectly.
* Define chargeObj.refunds methods
Add ChargeRefunds methods to ICharge interface and add resource class.
https://github.com/stripe/stripe-node/blob/master/lib/resources/ChargeRefunds.js
* Add verifySource placeholder methods
Add verifySource placeholder method to the Customer resource class. This
needs to be properly implemented later.
Also update InvoiceLineItem.type property to be a string literal type.
* Test clean up
Clean up the tests and add a few missing tests. All current tests now
also test for Promise method returns.
Still a lot of missing tests, but it's better than before.