Commit Graph
54973 Commits
Author SHA1 Message Date
Nicolas e26a8ca8da typo 2018-12-21 12:51:02 -05:00
Nicolas d6963182e2 update tests 2018-12-21 12:15:12 -05:00
Nicolas afa0c1e93a Add decode-entities type definitions 2018-12-21 11:49:02 -05:00
Grgur Grisogono f91a63c5e3 Terminal output color settings for webpack stats (#31583)
Webpack stats support terminal color definition string as such:

```json
colors: {
  green: '\u001b[32m',
},
```
2018-12-21 11:39:27 +00:00
Nathan Shively-Sanders 37c37a0e2a Merge pull request #31556 from marcwjj/master
Add typings for venn.js library
2018-12-20 16:29:03 -08:00
Nathan Shively-Sanders b8ed6ee450 Merge pull request #31557 from solkaz/react-native-read-more-text
Add definitions for react-native-read-more-text
2018-12-20 16:19:47 -08:00
Nathan Shively-Sanders 1ff961e66c Change Wrong ContentRenderer Type (#31403) 2018-12-20 16:19:02 -08:00
Peter Burns 4b658ce8a6 [polymer] Expose polymer.PolymerElement type in Polymer 1.x typings. (#31407)
* [polymer] Expose polymer.PolymerElement type in Polymer 1.x typings.

This is a type that represents a Polymer element after its class has been constructed by the Polymer() function.

Previously people would construct such a type by doing:

```typescript
interface MyElement extends HTMLElement, polymer.Base {}
```

But after TypeScript 3.0, the type of `HTMLElement#toggleAttribute` is different than the type of `polymer.Base#toggleAttribute`, which makes it an error to declare the MyElement type as above.

Unfortunately, we can't change the type of toggleElement on polymer.Base, so instead we introduce a new type polymer.PolymerElement that already extends `HTMLElement`.

So after this change, a Polymer 1.0 user can write their type as:

```typescript
interface MyElement extends polymer.PolymerElement {}
```

* Fix a couple of small issues.
2018-12-20 16:18:29 -08:00
Enrico Boccadifuoco 99458d49bf [react-beautiful-dnd] Update to the latest version 10.0.x (#31389)
* Update to react-beautiful-dnd version 10.0.3. Combining Draggables and rename Hooks to Responders. Minor changes inside Responders, DragStart, DragUpdate, Draggable, DropAnimation

* Fix errors

* OnDrag* callbacks from any to void

* Combine to null
2018-12-20 15:53:03 -08:00
Florian Keller 90df1ee381 Update types for ansi-regex 4.0 (#31568) 2018-12-20 15:41:28 -08:00
Errietta Kostala f680ffc4f0 fixes openpgp type compatibility with api (#31555)
* fixes openpgp type compatibility with api

* Update index.d.ts
2018-12-20 14:38:55 -08:00
ltlombardi bb560329b9 Add JSDoc to more methods @knockout (#31507)
* Add JSDoc to observableArray methods

I added JSDoc to all the observableArray methods and fixed some spacing irregularities in the file(extra or missing space)

* - add jsdoc for more methods.

* - add two missing methods: getDependenciesCount(): number; and   isActive(): boolean;
- small fixes in verb conjugation for JSDOC
- more JSDOC
- improvements in ignoreDependencies<T> method signature

* this is a test

* new test with different author

* this is a test of author

* test 2

* yet again

* 4th is the charm

* It was a breaking change I'll leave to a separate branch

* small fixes

* -split KnockoutComputedDefine in two interfaces.

One used together with evaluatorFunction and other when read property is required

* Small fixes

* Revert "-split KnockoutComputedDefine in two interfaces."

This reverts commit 41a7986e94f3e5772a711c4b4f1dd8f52125d945.

changes for another PR
2018-12-20 10:49:18 -08:00
Gabriel Castro 3fdd74a073 [bull] Add processedOn and finishedOn to Job (#31567) 2018-12-20 10:47:38 -08:00
anasufovic aac143fa6b fix incorrect mulitselect AttributeType XRM constant (#31531) 2018-12-20 10:10:38 -08:00
David Mihal f0ece96cd3 Add new properties and functions for ethereumjs-tx (#31409) 2018-12-20 08:27:50 -08:00
Jacob Evans e42357a571 [ganache-core] add db_path for specifying db directory (#31465) 2018-12-20 08:26:15 -08:00
Arthur Gunn 46c6018774 Meteor: Let the transform option in collection methods be set to null, fix linting errors. (#31530)
* Meteor: Let the transform option in collection methods be set to null.

* Fix `unnecessary-constructor` error.
2018-12-20 08:25:14 -08:00
Alessandro Mammana 27bb73f564 Sortablejs: add missing callback 'onClone' (#31542)
* Sortablejs: add missing callback

The callback onClone was missing from the typings even though it is part of Sortablejs 1.7

* Added two other missing callbacks

onChoose and onUnchoose were also missing. Funnily enough, onUnchoose is missing also from the official documentation. But it is still a valid callback that should be documented.
2018-12-20 08:23:52 -08:00
Krzysztof Żuraw c26b471d67 fix: fix type definitions for typography (#31544) 2018-12-20 08:22:52 -08:00
Stanislav Dzhus cbe1a82b47 [redis] Fix types for hmset and flushdb commands. Fix tslint callable-types error (#31550)
* [redis] fix type of result in callback for hmset and flushdb commands

* [redis] fix tslint callable-types error for RedisClient and Multi
2018-12-20 08:19:11 -08:00
Klaus Meinhardt b2716db969 js-yaml: use JSDoc instead of plain comments (#31549) 2018-12-20 08:16:56 -08:00
Phebe Sawan 2c11ef711e [auth0-js] Add passwordlessLogin to WebAuth for auth0 v9 (#31532)
* add passwordlessLogin to WebAuth

* remove trailing whitespaces from auth0.WebAuth

* Re-arrange the order of the PasswordlessLoginOptions properties to match the declaration in auth0
2018-12-20 08:16:17 -08:00
Daniel Cottone f56373cd3e Adding additional props to custom authorizer event (#31558) 2018-12-20 08:15:40 -08:00
Jiajing Wang 97e6287fef Update venn-tests.ts 2018-12-19 17:28:29 -08:00
Jiajing Wang 76ffd421f3 Fix one of the typing, add a missing jsdoc. 2018-12-19 17:21:32 -08:00
Jeff Held cf27ea6211 Add definitions for react-native-read-more-text 2018-12-19 18:35:09 -06:00
steffenvv ffdeb117ad yargs: Infer types of parsed options (#31000)
* Updated typings for yargs, inferring the shape of the parsed arguments.

* Fix lint errors.

* Use $ExpectType, and add more tests.

* Updated comments.

* Slight improvement to alias, organize tests more systematically.

* Fix for count, more tests.

* More restructuring of tests.

* Handle optional vs. required options.

* Consistently use [key in ... for mapped types.

* Improve handling of arrays, defaulting to (string | number)[].

* More improvements to array/number/string handling, and use Omit to reset types for repeated options.

* More precise usage of Omit, fix ToString and ToNumber.

* Remove blank line, keeping the alias overloads in one group..

* Bump required TypeScript version in yargs-parser to match yargs, and adapt the Arguments type.

* Use ReadonlyArray for choices.
2018-12-19 16:18:48 -08:00
Jiajing Wang b1671d7abe Fix indentation 2018-12-19 14:36:52 -08:00
Jiajing Wang bfe96d7066 Add typings for venn.js 2018-12-19 14:26:59 -08:00
Nathan Shively-Sanders 444ae0e622 Fix new lint failures (#31553) 2018-12-19 13:39:59 -08:00
Errietta Kostala 996c4a2f1f fix message.fromBinary (#31451)
* fix message.fromBinary

* move implementation to ts 3.2 and up only

* ts 3.2 definitions
2018-12-19 13:18:20 -08:00
Nathan Shively-Sanders 50a61def14 Merge pull request #31401 from CalthorpeAnalytics/sinon-stubbed-resolves
Make sinon stubs' resolve() correctly type the return value
2018-12-19 13:03:08 -08:00
Nathan Shively-Sanders f30fe2ad18 Merge pull request #31546 from TobyLi96/browser-bunyan-css
[browser-bunyan] Added css property to ConsoleFormattedStreamOptions
2018-12-19 10:56:53 -08:00
Nathan Shively-Sanders 42c6f403a2 Merge pull request #31527 from oBusk/fix-jquery-errors
[jquery] Fix lint errors
2018-12-19 10:55:10 -08:00
Nathan Shively-Sanders b15c3a62c3 Merge pull request #31395 from CalthorpeAnalytics/sinon-stubbed-member-params
@types/sinon: stub out SinonStubbedMember, so createStubInstance types arguments and return values
2018-12-19 10:29:54 -08:00
Nathan Shively-Sanders c9d84dad85 Merge pull request #31393 from nkgrnkgr/master
Argument type for onSwatchHover is incorrect🐛  NG: Color , OK: ColorResult
2018-12-19 10:28:57 -08:00
Nathan Shively-Sanders fad1d20fe5 Merge pull request #31548 from MatiasOlivera/hotfix/type-case
[graphql-errors] Change type case to StudlyCase
2018-12-19 10:26:28 -08:00
Nathan Shively-Sanders aa91ccd564 Merge pull request #31541 from Slessi/jpeg-autorotate
Types for jpeg-autorotate
2018-12-19 10:25:50 -08:00
Nathan Shively-Sanders 5ed80bec10 Merge pull request #31536 from Loghorn/better-sqlite3-fix-20166
Add missing exported better-sqlite3 types
2018-12-19 10:18:33 -08:00
Nathan Shively-Sanders 159d4bf069 Merge pull request #31537 from ugg0t/master
Fix Transition usage example
2018-12-19 10:17:50 -08:00
Nathan Shively-Sanders d302c205ac js-yaml: fix types of LoadOptions and DumpOptions (#31450)
* js-yaml: fix types of LoadOptions and DumpOptions

* use tabs for indent

* switch back to singleline comments

* remove extra whitespace
2018-12-19 10:17:11 -08:00
Kenneth Skovhus 9414479976 [react-navigation] StackActions.popToTop optional argument (#31528) 2018-12-19 10:16:15 -08:00
Andres Kalle ce45bccbfd nodegit: marked Index.getByPath() stage parameter as optional (#31503) 2018-12-19 10:14:57 -08:00
Carlos Precioso 2c6e021f06 Add filenamify-url (#31195)
* Add filenamify-url

* [filenamify-url] Add author name
2018-12-19 10:13:48 -08:00
Liam Ross 209bda9463 [node-polyglot] Fix t and locale overloads to allow optional arguments (#31522)
* Updated node-polyglot types

* bumped package version
2018-12-19 10:13:12 -08:00
denisname 1185d02265 Remove use of deprecated DsvRowAny (#31518) 2018-12-19 10:12:39 -08:00
Christian d'Heureuse 69ec048026 [node] fix parameter name of tls.connect() (#31494)
The callback parameter of `tls.connect(options[, callback])` is for the `secureConnect` event, not for the `secureConnection` event, and should therefore be named `secureConnectListener` instead of `secureConnectionListener`.
2018-12-19 10:11:12 -08:00
rostrowski 34486e7112 Made test, test.only and test.skip consistent (they should accept the same parameters). (#31462) 2018-12-19 10:10:39 -08:00
Bartosz c6718d492b [expo] Add NotificationChannel functions from sdk 31 (#31463)
* [expo] Added notification channel functions

* Fix wrong parameter from previous commit

* [expo] remove Notification param that does not exist in docs

* Revert "[expo] remove Notification param that does not exist in docs"

Actually, this param exists in expoSDK code,
although it's not mentioned in docs.

This reverts commit 2dd2f5b55d07f313191fa43d40418cb7ec3ac0e0.
2018-12-19 10:00:14 -08:00
Nathan Shively-Sanders fce9c60bb5 Merge pull request #31440 from simonbrunel/fix/chartjs-plugins
Allow plugins options augmentation for chart.js
2018-12-19 09:58:56 -08:00