Commit Graph
36196 Commits
Author SHA1 Message Date
Christopher Deutsch 9c1dc77ef4 Updated react-autosuggest for version 9.3.X (#20442)
`react-autosuggest` had some breaking changes.

Previously Autosuggest was defined with `any` props which meant no type checking was happening.

New definition enables type checking when using `Autosuggest` component.
```
declare class Autosuggest extends React.Component<Autosuggest.AutosuggestProps> {}
```
2017-10-16 11:36:31 -07:00
Jean-Baptiste Gomond 7a99e7c48a Corrected type of parameter "stream" in interface Options of @types/simple-peer (#20435) 2017-10-16 11:34:19 -07:00
Leonard Thieu 42cf3abe63 [jquery] Add ajaxSettings property. (#20433) 2017-10-16 11:32:07 -07:00
Aurélien 112130d22b fix(algoliasearch): generateSecuredApiKey returns a string (not void) (#20423)
* fix(algoliasearch): generateSecuredApiKey returns a string (not void)

* fix(algoliasearch): use object[] instead of [{}] in saveObjects method inputs
2017-10-16 11:19:24 -07:00
Flarna 2466ddbcff [node] Add Buffer.poolSize() and correct Buffer.byteLength() (#20419)
* [node] Add Buffer.poolSize

* [node] Allow more types for Buffer.byteLength()

* fix lint issue
2017-10-16 11:18:42 -07:00
Demiurga 55b81a75c5 Fix callback and Promise resolve type (#20404)
* Fix callback and Promise resolve

Promise and callback should resolve Core.Document<Model>, not just Core.Response

* Update pouchdb-upsert-tests.ts

* fix version format

* Down the version to 2.4
2017-10-16 11:13:13 -07:00
Aaron Beall 57804c9a7d Changed title/label props on components to ReactNode instead HTML props string, per docs (#20379)
* Changed TabProps.title to ReactNode not string, per docs

* Fixed declaration of title/label as ReactNode for components, per docs
2017-10-16 11:07:12 -07:00
María Mercedes Retolaza Reyna 95bac4fd31 add missed prop in modal header (#20358)
* add missed prop in modal header

* Fix CI failures

* Add comma to definition authors at react-bootstrap
2017-10-16 11:04:07 -07:00
Andy Hanson e9a4127918 Merge branch 'Akim95-remove-realm' 2017-10-16 11:03:11 -07:00
Andy Hanson 1ecd5b8fa6 Merge branch 'remove-realm' of https://github.com/Akim95/DefinitelyTyped into Akim95-remove-realm 2017-10-16 11:02:59 -07:00
Clément P 6366b6c58a Update DefinitelyTyped (#20318)
* Update index.d.ts

add proxyOption.proxyReq

* Update index.d.ts

proxyRes and proxyReq can be Function or Function[]

* Update index.d.ts

* Update browser-sync-tests.ts

add test for proxyRes & proxyReq

* Update browser-sync-tests.ts
2017-10-16 10:54:30 -07:00
Max Battcher faca90d1d8 Popper.js typings not needed (#20258)
* Popper.js typings not needed

Popper.js now bundles its own typings.

Resolves #18442

* Fix popper semver in notNeededPackages.json
2017-10-16 10:42:07 -07:00
Alessandro Vergani 0e7cad3271 Add setMulticastInterface to node dgram (#20186) 2017-10-16 10:39:48 -07:00
Andy Hanson d5b87c0ae7 Merge branch 'nrlquaker-add-blob-to-buffer' 2017-10-16 10:24:05 -07:00
Andy Hanson 6c91d49f9f Fix import style and add strictFunctionTypes 2017-10-16 10:23:51 -07:00
Andy Hanson ea4b599d93 Merge branch 'add-blob-to-buffer' of https://github.com/nrlquaker/DefinitelyTyped into nrlquaker-add-blob-to-buffer 2017-10-16 10:23:14 -07:00
Andy Hanson 880a03867d Merge branch 'npenin-master' 2017-10-16 10:20:15 -07:00
Andy Hanson 989ce9832c Add strictFunctionTypes 2017-10-16 10:20:04 -07:00
Andy Hanson 8a1000e1d8 Merge branch 'master' of https://github.com/npenin/DefinitelyTyped into npenin-master 2017-10-16 10:19:35 -07:00
Andy Hanson 974c11449b Merge branch 'fjmorel-master' 2017-10-16 10:17:50 -07:00
Andy Hanson 8fb6da1ff4 Remove type String 2017-10-16 10:17:36 -07:00
Andy Hanson 09ba00bbbb Merge branch 'master' of https://github.com/fjmorel/DefinitelyTyped into fjmorel-master 2017-10-16 10:16:57 -07:00
Daniel Imms f5dc2b6e33 Remove self from maintainers (#20126) 2017-10-16 10:15:45 -07:00
Sami Kukkonen b0447ecb51 Add _destroy to for node Readable stream (#20068)
From the docs:
https://nodejs.org/api/stream.html#stream_readable_destroy_err_callback

As specified in
https://nodejs.org/api/stream.html#stream_readable_destroy_error
implementors are recommended to implement this method instead of
`destroy()` and the original method should be available for calling via
`super`.

This change matches the signatures of other Stream subclasses by
annotating `callback` as `Function` instead of `(err: Error) => void`.
2017-10-16 10:13:28 -07:00
Andy Hanson 7f5638cf95 Merge branch 'degroote22-patch-1' 2017-10-16 10:11:03 -07:00
Andy Hanson 3e28d5d77d Fix test 2017-10-16 10:10:25 -07:00
Andy Hanson 7c61fa8ab1 Merge branch 'patch-1' of https://github.com/degroote22/DefinitelyTyped into degroote22-patch-1 2017-10-16 10:09:43 -07:00
Witchu Promjunyakul dc7fba2b21 fix TCursor.shape (#19984)
add blessed.log()
2017-10-16 09:17:43 -07:00
Tim Kye 68fcd921ba Yeoman-generator: add error function to base type (#19887)
* add error function to base type

this function is the recommended method for raising errors.
http://yeoman.io/environment/Environment.html#error
https://stackoverflow.com/questions/27616689/how-to-gracefully-abort-yeoman-generator-on-error

* fix travis lint error

* lint fix 2
2017-10-16 09:07:47 -07:00
aidandownes 0b0c6b20b0 Update type definition for $injector.invoke to be consistent with angular documentation/code. (#19886)
- $inject.invoke also accepts optional context and locals agruments when function is an array annotation format.
- Also added tests.
2017-10-16 09:06:56 -07:00
Elijah Schow ec2c36e82b Add `$overrideModelOptions' to 'INgModelController' (closes #19136) (#19880)
AngularJS Issue:
https://github.com/angular/angular.js/issues/12884

AngularJS Documentation:
https://docs.angularjs.org/api/ng/type/ngModel.NgModelController#$overrideModelOptions

AngularJS Source:
https://github.com/angular/angular.js/blob/master/src/ng/directive/ngModel.js#L863
2017-10-16 09:04:19 -07:00
Nicu Micleușanu 3d41a7ce59 react: Add support for more SVG elements (#19871) 2017-10-16 09:03:27 -07:00
Andy Hanson 1e7f8f94c7 Merge branch 'davidmpaz-master' 2017-10-16 08:50:38 -07:00
Andy Hanson b5ae36a6f7 Fix lint 2017-10-16 08:50:21 -07:00
Andy Hanson 41a50c9c48 Merge branch 'master' of https://github.com/davidmpaz/DefinitelyTyped into davidmpaz-master 2017-10-16 08:49:52 -07:00
Martijn Schrage 55a284355b Add missing method readline.emitKeypressEvents to package node (#19733) 2017-10-16 08:47:24 -07:00
Andy Hanson 09b946d1cd Merge branch 'jnordberg-patch-4' 2017-10-16 08:28:30 -07:00
Andy Hanson 75bd2c4718 Unify signatures 2017-10-16 08:28:20 -07:00
Andy Hanson 1353046ad3 Merge branch 'patch-4' of https://github.com/jnordberg/DefinitelyTyped into jnordberg-patch-4 2017-10-16 08:27:28 -07:00
Rogier Schouten ca3ec2cfe8 fix Node net.createConnection() and Socket#connect() signatures. (#19456)
* fix net.createConnection() and Socket#connect() signatures.

* fix lint errors.

* Fix review comments.
2017-10-16 08:26:29 -07:00
Andy Hanson 424349146a Merge branch 'prannayb-patch-1' 2017-10-16 08:21:03 -07:00
Andy Hanson 7683a9c4bc Fix lint 2017-10-16 08:20:53 -07:00
Andy Hanson c4c3a15e8b Merge branch 'patch-1' of https://github.com/prannayb/DefinitelyTyped into prannayb-patch-1 2017-10-16 08:19:57 -07:00
Marek Buchar 9df54d39a0 simple definition for babylon-walk (#20546)
* babylon-walk

* babylon-walk - added missing tests

* babylon-walk - missing tsconfig.json

* Visitor types enumeration fix

* deleted test file

* added test file back

* removed tsconfig

* added tsconfig back

* tsconfig fix

* downgraded typescript version to 2.3

* strictFunctionTypes: true

* test definitions fix

* added tslint.json and fixed most of issues

* fix for "'Instead of export =-ing a namespace, use the body of the namespace as the module body."
2017-10-15 10:31:19 -07:00
Daniel Rosenwasser 68110feab0 Merge pull request #20582 from ademozay/master
fixed parametere order of getImageSource
2017-10-15 00:30:34 -07:00
Daniel Rosenwasser ca7dc47d8b Merge pull request #20590 from LiJinyao/master
[@types/tough-cookie] setCookieSync options is also optional
2017-10-15 00:30:10 -07:00
Li Jinyao 1cd9e56f72 setCookieSync options is also optional 2017-10-15 02:28:41 +08:00
Adem Özay 6e44bf2866 fixed parametere order of getImageSource 2017-10-14 12:50:02 +03:00
Kalle Ott 3ad090bdf6 created typings for react-native-tab-view (#20575) 2017-10-13 23:16:16 -07:00
Mikael Hermansson b16f84c80c webpack-env: Added type defaults (#19132)
Allows omitting type arguments to the various forms of 'require', falling back to 'any' instead of the TypeScript default of '{}'.
2017-10-13 22:57:07 -07:00