Commit Graph
36164 Commits
Author SHA1 Message Date
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
Daniel Rosenwasser 3b6f4c1ba3 Merge pull request #20576 from fongandrew/patch-2
Update Enzyme version number
2017-10-13 22:21:19 -07:00
Andrew Fong 1b06f10a97 Update Enzyme version number
Previous updates to this type definition were for changes introduced in Enzyme 3.0 and 3.1, not 2.8.
2017-10-13 16:30:32 -07:00
Alexander Leon e21416d4a7 add missing option (#20401) 2017-10-13 15:19:04 -07:00
Szőke Szabolcs 1c2daecf2d react-virtualized: add missing properties to GridCellRangeProps, fix incorrect type for overscanIndicesGetter in Grid.defaultProps (#20412)
* react-virtualized: added missing properties to GridCellRangeProps

* react-virtualized: corrected type of overscanIndicesGetter in Grid.defaultProps

* react-virtualized: added name to "Definitions by" section
2017-10-13 15:18:51 -07:00
C Lentfort cfce6f295f Add typings for cleave.js (#20550)
* Add typings for cleave.js

Add typings for cleave.js and <Cleave> react component.

* Fix lint errors

* fixup! Fix lint errors

* fixup! Fix lint errors
2017-10-13 15:16:29 -07:00
Sergii Paryzhskyi 3a6713a0f9 Add definitions date-arithmetic package (#20555)
* Add type definitions and config to new package date-arithmetic

* Add tests for date-arithmetic package
2017-10-13 15:12:41 -07:00
Piotr Roszatycki 69737ccec9 ioredis: showFriendlyErrorStack option (#20459) 2017-10-13 15:11:17 -07:00
jakpaw 4ef648f6ea [lunr] Fix Index.query return value and add term to Clause (#20524) 2017-10-13 15:10:48 -07:00
Alvis Tang 547f6713f1 highland: add missing definitions & correct some others (#20446)
* chore(highland): add Alvis Tang as an author

* fix(highland): correct the definition of push

A push function should have a type of
```ts
(err: Error | null, x?: R | Highland.Nil) => void
```
such that it can accept
```ts
push(null, _nil);
```
to signal the end of the stream.

* fix(highland): add the missing defintion of uniq and uniqBy

See http://highlandjs.org/#uniq

* fix(highland): correct the definition of each

As a special case, `done` is allowed to attach to the stream after `each`.
See http://highlandjs.org/#each

* fix(highland): correct the definition of merge

The merge function should not take any argument. Also the return of a merged
stream should be the union type of the origins.

See http://highlandjs.org/#merge

* fix(highland): add the missing definition of toPromise.

See http://highlandjs.org/#toPromise
2017-10-13 15:10:28 -07:00
Azoson 97d6470bb0 [google-apps-script] Modify type definitions of functions which can return null (#20517)
* Fix type definition of `SpreadsheetApp.getActive`

* Fix type definition of `SpreadsheetApp.getActiveSpreadsheet`
2017-10-13 15:09:54 -07:00
nicholashza f7520ec7bc Add Howler 2.0.5 definitions (#20551)
Definitions for playerror and xhrWithCredentials introduced in Howler 2.0.5 https://github.com/goldfire/howler.js/blob/master/CHANGELOG.md#205-october-6-2017
2017-10-13 15:09:36 -07:00
kekraft 447df163c1 Fix left chunks and right chunks typing. (#20567)
leftChunks() and rightChunks() returns an array of MergeViewDiffChunk.
2017-10-13 15:09:17 -07:00
Brandon Matheson cd5ff7b75d Added CurrentUserIsSiteAdmin to ContextInfo (#20563) 2017-10-13 15:09:00 -07:00
neukym 2d3eb914e5 [@types/three] Adds morphTargetInfluences and morphTargetDictionary to mesh on three-core.d.ts (#20490)
* Adds morphTargetInfluences and morphTargetDictionary to mesh class

* Replaces morphTargetDictionary object type in three-core.d.ts
2017-10-13 15:08:35 -07:00
Kevin Greene ee3de0d55e [thrift] Update with an interface for struct-like classes (#20536)
* Additionally, mark Transport constructor args as optional
2017-10-13 14:54:32 -07:00
Arda TANRIKULU 795cd33932 Meteor's underscore and ServiceConfiguration types and new version for publish-composite are added (#20413)
* ServiceConfiguration types added

* New usage of publishComposite added to meteor-publish-composite

* meteor/underscore added
2017-10-13 14:54:04 -07:00
Flarna 7671753459 [redux-form] Fix tests by setting strictFunctionTypes to false (#20571) 2017-10-13 13:14:34 -07:00
Matthias Lochbrunner dfdf9e29ec Make RetryStrategyOptions.error of type NodeJS.ErrnoException (#20390) 2017-10-13 03:17:46 -07:00
Adrian Leonhard 601b1fa1d0 [fluent-ffmpeg] Added static ffprobe and fixed ffprobe. (#20391)
usage: https://github.com/fluent-ffmpeg/node-fluent-ffmpeg#reading-video-metadata
impl: https://github.com/fluent-ffmpeg/node-fluent-ffmpeg/blob/master/lib/fluent-ffmpeg.js#L219
ffprobe returns void: https://github.com/fluent-ffmpeg/node-fluent-ffmpeg/blob/master/lib/ffprobe.js#L86
2017-10-13 03:17:08 -07:00
Alexander Leon d9ca7d7eff add types for amapa (#20393) 2017-10-13 03:15:59 -07:00
Shenghan Gao e1228267bb Add types for Cytoscapejs (#20511)
* base (master) branch where all common changes start

* base (master) branch where all common changes start

* updated readme

* updated readme

* initial commit for cytoscape js

* update version

* added return types of void

* container can be jQuery

* container is not a jQuery but a get() works

* added style properties

* added style properties

* allow remove on CollectionElements

* added docs and algorithms

* added layout typings

* added layout intellisence and optional

* added missing elements from the api, may be broken

* incorporate CSS

* Remove OS restrictions

Previously, OS was restricted to only `linux`. However cytoscape.js does not appear to have any os restrictions defined in it's [`package.json`](https://github.com/cytoscape/cytoscape.js/blob/master/package.json).

* updated to match cytoscape 3.x

* updated version

* missing setter fro style

* target may not be present and type must be a string
That type can only be one of the specified event types.

* updated versions

* updated for IDE

* updated version to 0.0.1

* There is no known operating-system restriction.

* not an angular project

* type for cytoscapejs

* fixing types half way

* fix all travis errors and added some tests

* use HTMLElement instead of any for container

* add strictFunctionTypes
2017-10-13 03:15:35 -07:00