Commit Graph
40299 Commits
Author SHA1 Message Date
Alan Agius dfcd4cdeb0 feat: remove rollup types (#22876) 2018-01-17 10:04:24 -08:00
Oscar Busk 80046ef1ee @types/redux-first-router: Improve StateGetter and RouteThunk by including State (#22611)
* Improve State typing across entire definition

* Fix suggested changes on thunk function

* Fix dispatch definitons

* Revert storeEnhcancer change
2018-01-17 10:03:42 -08:00
Oscar Busk 08812a1004 add html attributes to redux-first-router-link (#22870) 2018-01-17 10:02:42 -08:00
Thomas Sawkins a04b55e680 update index.d.ts & update tests (#22795) 2018-01-17 10:02:12 -08:00
JB Nizet cf941e095c luxon: add changes introduced from versions 0.2.10 to 0.3.0 (#22880) 2018-01-17 10:01:33 -08:00
JB Nizet 008daf5924 luxon: fix two typos, and make constants readonly (#22877)
the constants should be readonly, since the original source code has getters, but no setters for these constants (see https://github.com/moment/luxon/blob/master/src/datetime.js#L1715-L1850)
2018-01-17 10:00:59 -08:00
Jonathan Alvarez-Gutierrez dc50262033 Update Polyhedron Geometries in "three" (#22889)
* Add PolyhedronBufferGeometry and subclasses

Added PolyhedronBufferGeometry and the four BufferGeometries subclassing it (TetrahedronBufferGeometry, OctahedronBufferGeometry, DodecahedronBufferGeometry, and IcosahedronBufferGeometry).

* Fix constructors for PolyhedronGeometry subclasses

The PolyhedronGeometry subclasses all have optional parameters for their constructor, but not all the type definitions were in line on this.
2018-01-17 10:00:09 -08:00
Hannes Früchtenicht 9658b51e04 [@types/rpio] Allow null as callback value for poll() (#22891)
* [@types/rpio] Fix poll parameter to accept null

As written in the `poll` function documentation the `cb` parameter should accept null as a value.

* Update rpio-tests.ts

* Add myself as contributor
2018-01-17 09:59:47 -08:00
Thomas Sawkins 4dda217e46 add missing NavigationAction consts (#22903) 2018-01-17 09:59:31 -08:00
Derek Wickern c4e9518121 ember: allow get/set with dynamic key (#22905) 2018-01-17 09:59:14 -08:00
smhxx a27b24d877 resolve: fix signature of callback type (#22911) 2018-01-17 09:58:00 -08:00
Niklas Wulf 6faad9d199 [boom] isBoom is a type-guard (#22918)
Instead of just returning boolean, the `isBoom` function can and should be a type-guard, which enables the obvious benefits.
2018-01-17 09:57:36 -08:00
smhxx 2c7e6c4f09 atom: fix return type of LinterProvider.lint() (#22904) 2018-01-17 09:57:04 -08:00
SagarFargade bb6a407de4 Add Alignment and Hide Default Launcher Options for intercom-web (#22920)
* Add Alignrment and Hide Default Launcher Options

Added Alignment and Hide default launcher options for intercom settings.

* Fixed build errors

Added Semicolon instaed of comma.
2018-01-17 09:55:58 -08:00
Jan-Niclas Strüwer be285f96bf step() option in animate function is optional. examples in cytoscape js docu (http://js.cytoscape.org/#cy.animate) use animate without step parameter. (#22916) 2018-01-17 09:55:43 -08:00
smhxx a025cb184b atom: fix type of Task.send()'s message parameter (#22907)
* atom: fix type of Task.send()'s message parameter

* atom: disallow undefined message argument to Task.send()

* atom: remove unnecessary linter comment

* atom: allow nested arrays to be passed to Task.send()
2018-01-17 09:55:29 -08:00
Alec Winograd 6fe41fe2e7 [react-navigation] refine type for createNavigationContainer (#22922) 2018-01-17 09:52:58 -08:00
Chris Krycho 8b902e076f Add ember-data error types; Ember.ViewUtils.isSimpleClick. (#22924) 2018-01-17 09:52:29 -08:00
Charles-Philippe Clermont 2037b3b9ba propEq with one argument returns a curried function (#22923) 2018-01-17 09:51:52 -08:00
Rob Moran 6af5b8d3a5 Added correct flag type to Interface.release() in usb package (#22832)
* Added correct flag type to Interface.release() in usb package

* Update Interface.release() to outline both ways of calling it

* Added missing fields, fixed the bMaxPacketSize0 field name and highlighted the params are optional in InEndpoint.startPoll()

* Add undocumented descriptor fields
2018-01-17 09:51:17 -08:00
Jeff Dickey 3a501549c2 read-pkg-up: fix return value (#22928) 2018-01-17 09:50:17 -08:00
ManeeshSharma17 f2435def78 fix(types): add col to CountOptions and FindOptions interface (#22914)
* fix(types): add col to CountOptions and FindOptions interface

Added missing property 'col' in CountOptions and FindOptions interface.

* Added missing property 'col' in CountOptions and FindOptions interface in v3

* added testcase

* remove col attribute from FindOptions

* Removed whitespaces
2018-01-17 09:50:02 -08:00
spacejack 2e11609c20 Add WebVRManager, ArrayCamera support (#22900) 2018-01-17 09:49:36 -08:00
Garanzha Dmitriy 1df22278c5 @types/nock Multiple set cookie. (#22921) 2018-01-17 09:49:13 -08:00
Chris Krycho ce95a260e0 Ember Feature Flags: use interface to support merging user-defined pr… (#22927)
* Ember Feature Flags: use interface to support merging user-defined props.

* Fix test file name.

* Inline (in-file?) `assertType` for ember-feature-flags.
2018-01-17 09:48:17 -08:00
Spencer Elliott c2ce00278b Define webpack.ProgressPlugin handler with all 5 arguments (#22936)
webpack can pass up to 5 arguments to the progress handler:
https://github.com/webpack/webpack/blob/b545b519b2024e3f8be3041385bd326bf5d24449/lib/ProgressPlugin.js#L41-L46

For example, simple-progress-webpack-plugin uses all 5 arguments:
https://github.com/dominique-mueller/simple-progress-webpack-plugin/blob/246f4795968d49a8b9ecf05ff3f38a100519ac93/logger/verbose-logger.js#L23
2018-01-17 09:47:22 -08:00
coyotte508 17d8fcc76f Add id to mongodb gridfs upload streams (#22930)
As seen in http://mongodb.github.io/node-mongodb-native/2.1/api/GridFSBucket.html#openUploadStream:

```js
    var uploadStream = bucket.openUploadStream('test.dat');

    var license = fs.readFileSync('./LICENSE');
    var id = uploadStream.id;
```

The resulting stream from `openUploadStream` *has* an id.
2018-01-17 09:46:52 -08:00
Damian Osipiuk 5076877fc7 react-jsonschema-form: Fixed typo in ArrayFieldTemplateProps definition (#22951) 2018-01-17 09:46:24 -08:00
kuhlebrock f1c07c65ab Add resize.auto as an optional property to ChartConfiguration (#22956) 2018-01-17 09:45:20 -08:00
Matt R. Wilson cc668c2e38 [@types/caseless] Add Httpified interface. (#22935)
To allow importing libs to extend the interface.
Objects passed into `caseless.httpify` are extended with these methods.
2018-01-17 09:44:51 -08:00
Johannes Walleboom 71ca70ae88 Type fix for checkOrigin (#22925)
checkOrigin can also be an array of allowed origins.
2018-01-17 09:44:24 -08:00
Nikola Vidic 16937e5e28 [sequelize] Update addColumn and removeColumn (#22965)
* [sequelize] Update addColumn and removeColumn

* update squelize-tests.ts
2018-01-17 09:43:45 -08:00
John Marinelli c1ebcacdb9 Replace Vector3 with Vector2 for lathe geometry type, edit tests (#22895) 2018-01-17 09:42:48 -08:00
mad-mike d4fac01ad6 [p-queue] Update to version 2.3 (#22955)
* [p-queue] Update to version 2.3

* Apply hints from tslint
2018-01-17 09:41:59 -08:00
Benjamin Lowry 93c2e07a9b Fix Expo AuthSession returnUrl to be optional as per documentation (#22984) 2018-01-17 09:40:16 -08:00
Nikita Moshensky 39b90ab686 [ramda] fix path() return type according to documentation (#22963)
* [ramda] fix path() return type

* add tests
2018-01-17 09:37:58 -08:00
dyst5422 1eab1479b5 [graphql]: Update to 0.12.x (#22980)
* [graphql]: Update to 0.12.x

* Changed TypeExtensionNode from TypeExtensionDefinitionNode

* Changed some commas to semicolons.
2018-01-17 09:37:03 -08:00
Dima Sabanin 8c4e4a9985 [nano] Support for db/_find API with Mango query language. (#22833)
* Support for db/_find API with Mango query language.

* Clean up for linter.
2018-01-17 09:28:37 -08:00
Bryan Hughes 3524ae0be3 Adds type definitions for raspi-gpio, raspi-i2c, raspi-led, raspi-onewire, raspi-pwm, raspi-serial, raspi-soft-pwm (#22898)
* Added peripheral classes from the raspi.js suite.

* Refactored type names to match style guide
2018-01-17 07:40:29 -08:00
Michael Zlatkovsky 5244cc0ecc Update maintainers list of office-js (#22972) 2018-01-17 07:40:06 -08:00
Maksim Karelov a56225abf7 [ismobilejs] Fix isMobile typings and tests (#22824)
* Fix isMobile typings and tests

* Fix isMobile export
2018-01-17 07:35:53 -08:00
Eloy Durán 59a2ad3ebb Merge pull request #22961 from foxmicha/patch-1
Update React-Native Modal prop typings
2018-01-17 06:23:05 -05:00
Andy ea7a1a732a assertion-error: Provides its own types (#22861) 2018-01-16 11:12:35 -08:00
Matt R. Wilson 5ba5faa1de [@types/request] Lint fix. (#22874)
I had two PRs merge close together that caused the build to fail.
- #22809 fixed a bug
- #22821 removed all the overrides from `tslint.json`
Unfortunately, the former ended up with a couple lint issues.
```
./types/request/index.d.ts
ERROR: 64:20  unified-signatures  This overload and the one on line 63
can be combined into one signature taking `string | RequiredUriUrl &
TOptions`.

./types/request/request-tests.ts
ERROR: 10:5   prefer-const        Identifier 'value' is never
reassigned; use 'const' instead of 'let'.
```
2018-01-16 09:41:33 -08:00
Andy ceebbf5a7a chai: Remove false reference types comment (#22968) 2018-01-16 08:55:59 -08:00
Andy ba0c1cdfaf localforage-cordovasqlitedriver: Provides its own types (#22863)
* localforage-cordovasqlitedriver: Provides its own types

* remove 'module' from libraryName
2018-01-16 08:41:32 -08:00
Andy f261270cfc linq4js: Provides its own types (#22864) 2018-01-16 08:28:37 -08:00
Andy da70da196d node-waves: Provides its own types (#22866) 2018-01-16 07:51:02 -08:00
Andy 534e06cf2d xterm: Provides its own types (#22869) 2018-01-16 07:32:55 -08:00
foxmicha 38d5845a1e Update React-Native Modal prop typings
Please fill in this template.

- [x] Use a meaningful title for the pull request. Include the name of the package modified.
- [x] Test the change in your own code. (Compile and run.)
- [x] Follow the advice from the [readme](https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/README.md#make-a-pull-request).
- [x] Avoid [common mistakes](https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/README.md#common-mistakes).
- [x] Run `npm run lint package-name` (or `tsc` if no `tslint.json` is present).

Select one of these and delete the others:

If changing an existing definition:
- [x] Provide a URL to documentation or source code which provides context for the suggested changes: https://github.com/facebook/react-native/blob/master/Libraries/Modal/Modal.js#L161


Additional info:
Just like the onShow optional prop, the Modal's onOrientationChange prop can capture a NativeSyntheticEvent at the time of the hardware change. This allows the developer to determine if the orientation change was to the landscape or portrait style and react accordingly.
2018-01-16 09:32:07 -05:00