* Added type definitions for node browser history
* renamed definition file
* added tsconfig and tslint files
* updated typings file
* removed redundant types and updated typings
* removed redundant types and updated typings
* updated any type with an interface
* Expose RedisStoreOptions in rate-limit-redis
* Also refactor to expose RedisStore as a class instead of a variable
* Rename RedisStore.RedisStoreOptions to RedisStore.Options so it is less
redundant and is consistent with RateLimit.Options from
express-rate-limit.
DocumentFragment was added earlier, but Document isn't assignable to
DocumentFragment in Typescript 3.9, so both need to be part of the union
that makes up Node.
These console methods are removed in TS 3.9, so node doesn't need to
test them anymore.
Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com>
* feat(cesium): version bump to 1.67
- `Cesium3DTilesetGraphics`
- `Color.lerp`
- `skipLevelOfDetail` default value braking change documented
- `isArray` deprecated
- no changes for ParticleSystem as Particle api is not part of type
definitions yet
https://github.com/CesiumGS/cesium/blob/master/CHANGES.md#1670---2020-03-02
/cc @jrafidi
Thanks!
* Fix PR comments:
- missing test added
- `show` property
/cc @jrafidi
Thanks!
AudioTrack isn't standard (only supported in IE and Safari), and is
removed from the DOM lib in TS 3.9: microsoft/TSJS-lib-generator#802
This PR puts a copy of the type called VideojsAudioTrack in instead.
That should be compatible with the DOM version for older Typescripts,
since it's copied directly from the old source.
* Update npm-registry-fetch to v8.0
v7 drops several option aliases and renames some other options.
v8 drops opts.refer.
* [npm-registry-fetch] Restore v4 types
Restored the types for npm-registry-fetch@4 in a subfolder, since v4
still appears to be maintained and pacote@9 needs it.
Co-authored-by: Joel Spadin <joel.spadin@garmin.com>
* Upgraded XRegExp to 4.3.0
* Updated the groups property to match ECMAScript 2018
The groups properties is not nullable in ECMAStript 2018.
* Fixed groups property type and other bugs
Fixed the groups property type and fixed some other bugs.
* Found and fixed one more issue
Co-authored-by: Anthony Rainer <0@0ze.ro>
* Added missing methods.
Added missing methods: zonesForCountry() and countries() to moment-timezone type.
* Added new tests for moment-timezone
Added tests for zonesForCountry() and countries() methods in moment-timezone.
* Fixed test in moment-timezone
Fixed test to use proper type in moment-timezone
* Updated version and added name to moment-timezone
Updated version and added name to moment-timezone
* Fixed test in moment-timezone
Fixed the countries() test in moment-timezone
* Fixed some whitespace issues in moment-timezone
* Removed patch version from moment-timezone
* Fixed a few issues in tests
* [fix] added missing parameter for submit KYC
[fix] added missing parameter for submit KYC
* [fix] update test case
Update test case for submit KYC document on MangoPay.
* [jasmine] Fix unit tests for jasmine.objectContaining to use $ExpectError instead of commments
* [jasmine] Fix type definitions for jasmine.objectContaining when using TypeScript 3.1+
* [react-instantsearch] update to v6
- createIndex & createInstantSearch no longer exist, replaced by the component in -core
- InstantSearch no longer accepts appId & apiKey
- InstantSearch no longer accepts `root` (& neither Index, but that wasn't typed)
- /server API has changed, now exposes directly `findResultsState`
* fix small typo things
* update native tests
* declare newer stuff
* prevent error
* interfaces are required apparently
* Update types/react-instantsearch-core/index.d.ts
* Update types/react-instantsearch-dom/index.d.ts
* fix lint?
* remove failing test
* hmm
* hmm this test is weird but that's ok
* old typescript
* fix: add types to authentication context for keystone v6.0
* fix: add other fields from authentication context data packet
some fields were undefined. I have added these as optional with any for now.
* fix: pass default values with the optional options for executeQuery()
This permits
```
executeQuery(
`query {
_allUsersMeta {
count
}
}`
```
as well as
```
executeQuery(
`query {
_allUsersMeta {
count
}
}`,
{
variables: {
password,
email,
},
}
```
* fix: remove initializer from interface property
* fix: ci error
`A parameter initializer is only allowed in a function or constructor implementation.`
* fix: i am done with semicolons
* Add typing for children of react-document-title
react-document-title uses React.Children.only to get the only child, and raises an error if more than one child is passed.
https://github.com/gaearon/react-document-title/blob/master/index.js#L31
* Add a test case with a child
* Turns out it should be React.ReactChild
Turns out it should be React.ReactChild
* Fix typo