51387 Commits

Author SHA1 Message Date
Neil Gentleman
7e5f12eec1 [react-bootstrap] fix Dropdown.Menu (#29452)
* [react-bootstrap] remove incorrect exports

several sub-components are exported in index.d.ts, when they are not
in the library itself.

should fail:
`import { DropdownMenu } from 'react-bootstrap';`

should succeed:
`import { Dropdown } from 'react-bootstrap';`
`import DropdownMenu from 'react-bootstrap/lib/DropdownMenu';`

* [react-bootstrap] fix Dropdown.Menu typing

DropdownMenu uses `export =`, so the import must use require, `import *`.

this matches the pattern in Carousel, FormControl, etc.
2018-10-10 12:54:46 -07:00
Elizabeth Craig
84521a00c5 touch: Add closeAfter option (#29459) 2018-10-10 12:53:58 -07:00
Lucas Garron
273c8be397 webauthn: Mark rpId and allowCredentials as optional for PublicKeyCredentialRequestOptions. (#29463)
As documented at
https://w3c.github.io/webauthn/#dictdef-publickeycredentialrequestoptions
(already linked in the comment for the interface), the the `rpId` and and
`allowCredentials` fields are optional.
2018-10-10 12:53:43 -07:00
nixxquality
3d6ded6cd7 SortFunction signature should match Array.sort (#29468)
-1 and 1 aren't the only numbers allowed. Any number less than or greater than 0 will sort the item properly.
This enables shortcuts like (a, b) => a - b;
Restricting the signature to -1 | 0 | 1 is a mistake.
2018-10-10 12:53:18 -07:00
Justin Powell
95fdf92cc2 react-modal updates for 3.6 (#29585)
* updates react-modal definitions for 3.6

* adds specs for react-modal definition updates

* adds attribution for react-modal updates

* remove trailing whitespace
2018-10-10 12:52:42 -07:00
Felipe Lacerda
730cf3a530 [redux-form] Add name to FieldArray.fields (#29598) 2018-10-10 12:52:22 -07:00
Michael Faißt
6bf0bc358c [@types/leaflet-polylinedecorator] Adjust offset, endOffset and repeat types (#29603)
* offset, endOffset and repeat in the Pattern Interface can also be of type string

* added a few new tests with new string offset, endOffset and repeat
2018-10-10 12:52:06 -07:00
Emily Marigold Klassen
10ab941fd2 Add types for express-ntlm (#29617) 2018-10-10 12:51:44 -07:00
Igor Oleinikov
3314940859 Merge pull request #29601 from DJWassink/change/keyframes
[styled-components] Added Keyframes to InterpolationValue
2018-10-10 10:36:13 -07:00
Florian Keller
b1f834289e Add types for express-sitemap-xml (#29576) 2018-10-10 09:39:51 -07:00
Piotr Roszatycki
f5d631db0b node: setImmediate returns Immediate (#29599)
* node: setImmediate returns Immediate

* node: defined Timer and Immediate internal classes

* node: better compatiblity with Timer interface

* node: return Timeout rather than Timer
2018-10-10 09:38:51 -07:00
Piotr Roszatycki
1dcb4dba95 node: console.timeLog (#29600) 2018-10-10 09:28:07 -07:00
Joscha Feth
af61ae4b09 jsdom: add ResourceLoader (#29589)
* jsdom: add ResourceLoader

* fix: lints
2018-10-10 09:27:15 -07:00
Piotr Roszatycki
19f1f4b082 season: new typings (#29606) 2018-10-10 09:19:02 -07:00
Ivan Pankratov
f2d8c72ea3 Add type definitions for getenv (#29607) 2018-10-10 09:16:05 -07:00
Piotr Roszatycki
c13bb2078f jspath: new typings (#29609) 2018-10-10 09:07:26 -07:00
Benjamin Kniffler
de783bc4f6 add component? to @reach/router router component (#29610)
* add component? to @reach/router router component

* increase version

* fix issues
2018-10-10 09:06:32 -07:00
Yusuke Higuchi
b96651b0f6 recorder-js: Initial definitions (#29613) 2018-10-10 09:06:03 -07:00
Dirk-Jan Wassink
732d31ca51 Added Keyframes to InterpolationValue to support the new keyframes 2018-10-10 11:11:39 +02:00
Kyle
35f3259b13 feat: add type for webpack.Configuration.devServer from webpack-dev-server in types/webpack/index.d.ts and types/webpack/v3/index.d.ts (#29593) 2018-10-10 05:49:14 +01:00
Francis Gulotta
2e4a63b9c1 Add constructor options and new method (#29460) 2018-10-09 21:27:41 -07:00
Ruben Maher
91fccb7a82 tldjs: 1.7.0 -> 2.3.2 (#29461) 2018-10-09 21:27:02 -07:00
Steve Oney
c3f722d914 removing implicit anys (#29592) 2018-10-09 21:26:01 -07:00
Andy
007411ded7 mailgun: Expose namespace members (#29579) 2018-10-09 21:23:07 -07:00
Alex Jerabek
9158d5c42c [office-js] Escaping characters to match TSDoc (#29588)
* Fixing doc errors and spacing

* TSDoc changes

* Adding Outlook escape characters
2018-10-09 17:30:21 -07:00
murt
95d7637bed autoprefixer: updated to match postcss Plugin types for postcss 7.x (#29357)
* autoprefixer: updated to match postcss Plugin types for postcss 7.x types, resolve error with Transformer type

* #29357: Renamed autoprefixer.AutoprefixerOptions to autoprefixer.Options
2018-10-09 17:29:35 -07:00
Adam Lavin
fe3bb114a3 [styled-components] Upgrade to 4.0.0 (#29389)
* [styled-components] Upgrade to 4.0.0

* [styled-components] Remove 2.9 dependent test, lower ts version

* [styled-components] Add ThemeConsumer

* [styled-components] Remove unused import in test

* [styled-components] Add v3 typings

* [styled-components] Fix themed keyframes return type

* Loosen up type for as prop, add extra test case

* Remove unnecessary generic prop
2018-10-09 15:48:36 -07:00
martajuliadev
163df17a1f Modified package: types/bunyan, added types: RotatingFileStream, RotatingFileStreamOptions (#27967)
* Bunyan types: RotatingFileStream type added, tests updated

* Bunyan types: RotatingFileStream type added, tests updated part2

* Change after review remarks- path should not be optional field in RotatingFileStream
2018-10-09 14:17:35 -07:00
maruware
84dd246f35 koa-logger: support opts arg. (#27689) 2018-10-09 14:13:54 -07:00
Mosh Feu
186b322d9c tests and lint (#29575)
* tests and lint

* try keep tslint
2018-10-09 14:05:09 -07:00
Paul Selden
86c13ea3d3 [@types/stellar-sdk] Add hint and signature to xdr.DecoratedSignature (#29557) 2018-10-09 13:54:15 -07:00
Tijs Zwinkels - TinkerTank
3cd87a2953 Definitions for strophe.js, as suggested in PR #27682. (#28257)
* Definitions for strophe.js, as suggested in PR #27682.

* [strophe.js] Make all 'Function' types from muc.d.ts more specific.

* [strophe.js] enable as many lint rules as possible.

* [strophe.js] fix the headers.

* [strophe.js] More cleanup to enable more tslint rules.
2018-10-09 12:11:19 -07:00
Yuya Tanaka
2bd9965877 [meow] add booleanDefault option (#28520) 2018-10-09 12:09:51 -07:00
Pete
51a7427bab Add types for Theo (#28683)
* Add types for Theo package

* Remove strings and Theo interface

* Fix tests

* Remove string type from Transform union type

* 'OutputFormat' -> 'Format'
2018-10-09 12:09:03 -07:00
Julian Wilson
722809894a Update utils.d.ts to include isHexStrict method in @types/web3 (#29236)
* Update utils.d.ts to include `isHexStrict` method

As per the documentation in beta 36, there is a method `isHexStrict` method that checks if the passed string is hex and additionally starts with the '0x' prefix.

* Restrict parameters to number or string in `isHexStrict`.

* Remove superfluous string type in `isHexStrict`

* `isHexStrict`: add test case for number
2018-10-09 12:07:44 -07:00
mhuynh1
ab64ce72e8 add react-better-password (#29278)
* add react-better-password

* resolve CI errors

* enable strictFunctionTypes

* changed onChange type from any to function

* mark onChange as optional
2018-10-09 12:07:10 -07:00
Henrik Raitasola
7bc89a263f Add missing function (#29313) 2018-10-09 12:06:30 -07:00
Paweł Łaski
b8d77425e3 add isSensor property to Body (#29339) 2018-10-09 11:59:03 -07:00
Cerberuser
df68ef81fc Fix for backgroundColor property (#29361) 2018-10-09 11:56:35 -07:00
Thiago Dourado de Andrade
4070a91a41 [redux-actions@2.3] Added type for options (#29332) 2018-10-09 11:55:38 -07:00
sJJdGG
2d8bcf15b9 [react-native-video] add seekableDuration to onProgress callback data (#29369)
* Update onProgress - Add seekableDuration

seekableDuration was missing from onProgress  callback data.

* Update react-native-video tests
2018-10-09 11:50:10 -07:00
Chocobozzz
8fcdf2d62c Use generic for the transaction function (#29377) 2018-10-09 11:48:34 -07:00
Simon Schick
389797ccb6 fix(node): fix version headers (#29393)
* fix(node): fix version headers

* fix(node): define dummy interface for Set/ReadonlySet
2018-10-09 11:47:57 -07:00
Mező István
62fca3d19e Update pikaday types to 1.7 (#29378) 2018-10-09 11:47:00 -07:00
Martin Yrjölä
c1105c72dc [detox] Fix types according to example snippets (#29399)
Some of the Detox types were broken when testing on the example snippets
included in the docstrings. These changes fix the tslint errors to the newly
added tests.
2018-10-09 11:44:44 -07:00
Lucas de Almeida Carotta
670a956ed7 Adding Generic support to query Documents. (#29410) 2018-10-09 11:42:33 -07:00
Tarnay Kálmán
20640a50d6 [cassandra-driver] ResultSet.first can return null, add 3.5.0's noCompact, bump version (#29411)
this might be a build breaking change for some users of "first" in strict null checking mode, albeit one with an easy fix:
if you are sure that having zero returned rows is impossible, just add an exclamation mark to ignore the null check like this: r.first().!get(0) or just perform a proper check..
2018-10-09 11:41:30 -07:00
Joey Silva
de733a2952 Add startOperation and endOperation to codemirror (#29427)
https://codemirror.net/doc/manual.html#startOperation
2018-10-09 11:39:22 -07:00
Luis Stanley Jovel
fa6c0efef5 Plotly.js add missing properties (#29428)
* Add definitions for removeAllListeners funtion as detailed https://github.com/plotly/plotly.js/issues/107#issuecomment-279716312

* adding automargin property as per the documentation: https://plot.ly/javascript/reference/#layout-xaxis-automargin

* making the colorbar property optional

* Fix lint warnings

* updating tests

* create ColorBar interface
2018-10-09 11:38:55 -07:00
Borys Kupar
9adaa35c58 [jsforce] Add LimitsInfo, Fix logout (#29435) 2018-10-09 11:38:03 -07:00