Commit Graph
40276 Commits
Author SHA1 Message Date
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
Max Loeb 11130d86be add optional config (#22932) 2018-01-16 05:22:48 +00:00
Leonard Thieu 29c6e0f81a [jquery] Support projects without ES2015.Iterable. (#22766) 2018-01-14 06:12:35 +00:00
Andy fa5baf1733 node-pg-migrate: Provides its own types (#22865) 2018-01-12 18:52:53 -08:00
Donald Pipowitch 30a18caa99 added identifier prop to resource servers in auth0 (#22842)
* added identifier prop to resource servers in auth0

* require identifier for new resource servers
2018-01-12 16:21:46 -08:00
Dani Li 2996e4ab42 Update MediaSessions.metadata type (#22856)
Media Session metadata can be nullable. Adding null to type
2018-01-12 16:20:54 -08:00
Andy f8ae932940 expr-eval: Provides its own types (#22859) 2018-01-12 14:24:14 -08:00
Andy 8aec9e3efa Sort notNeededPackages.json (#22862) 2018-01-12 14:14:09 -08:00
Matt R. Wilson dada969cd6 [@types/request] Fix initParam return type. (#22809) 2018-01-12 11:54:51 -08:00
Matt R. Wilson f687ec5a6b [@types/request] Fix lints (#22821)
* [@types/request] Fix lints: ban-types.

Replace generic `Function` types with appropriate `(...): <T>`.

* [@types/request] Fix lints:no-duplicate-variable.

* [@types/request] Fix lints:no-inferrable-types.

* [@types/request] Fix lints:no-misused-new.

* [@types/request] Fix lints:no-var-keyword.

* [@types/request] Fix lints:object-literal-shorthand.

* [@types/request] Fix lints:prefer-const.

* [@types/request] Fix lints: strict-export-declare-modifiers.

* [@types/request] Fix lints: unified-signatures.
2018-01-12 11:54:20 -08:00
Anton Myzenkov 0b9afcec90 [mongodb] Updates Options of Collection Methods (#22855) 2018-01-12 11:53:30 -08:00
Alexandre 4e9fc99430 Mapbox-gl and Geojson types update (#22544)
* Update mapbox-gl and geojson types

* Make geojson coordinates optional

* Increase mapbox type header

* Remove changes of GeometryObject and use internal mapbox any geometry type
2018-01-12 10:34:37 -08:00
salim7 db2f29e765 react-onsenui: Added missing attributes to existing components and on-change event of a Switch. (#22848) 2018-01-12 10:20:56 -08:00
johndowns d03ff75ee6 Update DocumentDB Server Types with new Cosmos DB features add missing type parameters on some overloads, and revise test cases (#22605)
* Update metadata

* Add IUpsertOptions interface

* Add upsertAttachment method overloads

* Add upsertDocument method overloads

* Update test metadata

* Remove old stored procedure samples from tests

* Add comments for extra tests that cannot currently be added

* Update author name format to match convention

* Add missing overloads to ICollection.queryDocuments with type parameters
2018-01-12 10:18:49 -08:00
Zoltan Ujvary eeae8908b8 Updated johnny-five type definitions (#22719) 2018-01-12 10:18:20 -08:00
Park Geon c76270a2d2 Add package [passport-kakao & passport-naver] (#22798)
* Add package [passport-kakao & passport-naver]

* Fixed types/tsconfig.json [passport-kakao & passport-naver]
2018-01-12 10:03:29 -08:00
Ruben Schmidmeister 5be99ed666 Add package nanoid (#22852) 2018-01-12 10:02:48 -08:00
mtgto a2f0dc2938 material-ui: Fix IconMenu properties. (#22663)
* material-ui: Fix IconMenu properties.

* material-ui: Bug Fix IconMenu#onClick argument

* material-ui: Bug Fix IconMenu#children typedef.
2018-01-12 10:02:26 -08:00
Stewart Rand 5ee253b57e Jasmine: Parameter accessType should be optional and have specific possible values in spyOnProperty() (#22849)
* Update parameter to be option for Jasmine spyOnProperty

* Constrain possible values of accessType to 'get' and 'set'
2018-01-12 10:01:58 -08:00
Tim Kendrick cae161a583 [dot-prop] Return object from .set() method (#22851) 2018-01-12 10:01:36 -08:00
Kenzie Togami 1b08e24cbe [multistream] The last parameter in FactoryStream can take null (#22846) 2018-01-12 10:01:15 -08:00
Eloy Durán 452e027d9b Merge pull request #22844 from timwangdev/patch-3
[react-native] Bump version 0.52
2018-01-12 08:38:31 -05:00
Tim Wang b9c5d01caa [react-native] Bump version 2018-01-12 16:32:31 +08:00
Austin Turner d0fdb3787e Updated typings for react-big-calendar (#22718)
Added additional properties that were missing
Changed CalendarEvent to type any, since this could be anything based on what the user is using for their event
Added specific types for View, Navigate, Format
Updated other types and functions that were incorrect with the current version of the package.
2018-01-11 17:50:36 -08:00