Commit Graph
57967 Commits
Author SHA1 Message Date
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
Dolan 19a398d84a Merge pull request #9 from DefinitelyTyped/master
Update to latest
2018-01-16 14:06:57 +00:00
Syncfusion-JavaScript c27b6a3a26 Lint Error Resolved 2018-01-16 16:40:29 +05:30
Syncfusion-JavaScript d6911fcd63 Lint Error resolved. 2018-01-16 16:27:23 +05:30
Syncfusion-JavaScript 71342f5472 Lint Error has been fixed 2018-01-16 15:53:04 +05:30
yushulx 76c2c04ef9 Merge branch 'master' of https://github.com/DefinitelyTyped/DefinitelyTyped 2018-01-16 15:20:00 +08:00
Max Loeb 11130d86be add optional config (#22932) 2018-01-16 05:22:48 +00:00
dominuskernel 23525e5793 change the off method types 2018-01-15 12:22:28 +01:00
dominuskernel d095efb7a6 add type for off method 2018-01-15 02:22:11 +01:00
dominuskernel af1e2b71dc add methods types to Navigo and update the version 2018-01-14 18:36:13 +01:00
Leonard Thieu 29c6e0f81a [jquery] Support projects without ES2015.Iterable. (#22766) 2018-01-14 06:12:35 +00:00
Carsten Schumann 40bd25bd96 Added missing parameter format
Paper.path also accepts an array of commands instead of a path string. 

Example: 
paper.path([
            ["M", 5, 10],
            ["l", 15,  2],
            ["h", 30],
            ["Z"]
]);
2018-01-13 14:59:44 +01: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
KonstantinKai b8bfd36698 in progress 4 2018-01-12 17:28:58 +02:00
KonstantinKai 981bf1e3e6 in progress 3 2018-01-12 17:17:34 +02:00
KonstantinKai 37e7e7d86b in progress 2 2018-01-12 16:37:05 +02:00
KonstantinKai 1f57a35983 in progress 2018-01-12 15:59:59 +02: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