Commit Graph
40260 Commits
Author SHA1 Message Date
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
Alex Brick a324e89609 [swagger-tools] Supporting optional parameters and typed requests (#22828)
Two changes:

1) We are now allowing the parameters of a request to be typed. This
adds more type safety to consumers.

2) We support optional parameters in the request.

For (2), the root cause is this issue in how Typescript handles
--strictNullChecking:
https://github.com/Microsoft/TypeScript/issues/9235
2018-01-11 17:49:40 -08:00
Philippe D'Alva 89bb4091ed @types/ws - Update types definition for ws@4.0 (#22831)
* @types/ws: Update types definition for ws@4.0

* @types/ws Update type definition for ws@4.0

- Change extensions attribute type
- Rename headers event to upgrade

* @types/ws - Updage ws tests to be in sync with ws@4.0.0
2018-01-11 15:49:53 -08:00
Dominique Rau 45b428e550 fixup(init): type in symbols declaration (#22830) 2018-01-11 15:49:28 -08:00
Ethan 2e1875bacf Ramda partial/partialRight: add overloads for 2–4 arg functions (#22737)
Gives better typing for some common cases, analogous to the overloads for R.compose.
2018-01-11 09:33:51 -08:00
Wender 64eb6022f2 Additional options available at the last version (#22793)
nav and loop
2018-01-11 09:33:26 -08:00
Evan Shortiss 7c79ad1b9d [Work in Progress] - Updates for osmosis@1.1 (#22551)
* fix for osmosis@1.1

* formatting
2018-01-11 09:32:11 -08:00
Kamal Fariz Mahyuddin 1257e0e883 AppState currentState should use AppStateStatus (#22818) 2018-01-10 19:45:59 -08:00
Andy 2c2794aae4 flatbuffers: Fix lint (#22820) 2018-01-10 15:27:01 -08:00
Flarna b0fee33bf0 [sinon] add spy.resetHistory() (#22807) 2018-01-10 15:26:30 -08:00
Cassey Lottman 5165332409 Chartist - add another possible series type to IChartistData (#22803)
* missing comment

* missing comment

* add iteratee property shorthand for uniq in underscore

* undo bad commit

* can also pass array of array of data to chartist
2018-01-10 15:25:41 -08:00
Andy 01d4dcdcd2 Fix 'no-dynamic-delete' lint failures (#22822) 2018-01-10 15:01:26 -08:00
Andy 219dd6df82 Fix 'prefer-readonly' lint failures (#22819) 2018-01-10 14:59:37 -08:00
Federico Caselli 84e265d13a [mongodb] First update to bring the mongodb to version 3 (#22626)
* First update to bring the mongodb typings to version 3

* Updated tsconfig of the older v2 version

* Set mongodb version to 2 in packages with errors

* MongoClient extends form EventEmitter
2018-01-10 14:14:05 -08:00
Tim Griesser e429830e19 [graphql] allow specifying Args on GraphQLFieldResolver (#22789) 2018-01-10 14:13:06 -08:00
Andy d1bc03b34c webappsec-credential-management: Fix lint (#22806) 2018-01-10 12:24:10 -08:00
Andy fde9d593b1 nightwatch: Fix lint (#22810) 2018-01-10 12:23:31 -08:00