Commit Graph

24861 Commits

Author SHA1 Message Date
Tim Perry
17264e0456 Add missing walk() method to fs-extra (#13070)
* Add walk() to fs-extra

* Fix some indentation in fs-extra
2017-01-06 07:04:10 -08:00
Andy
602a847455 ldap: Clean up header (#13802) 2017-01-06 07:03:12 -08:00
Charles
a6e00226ff Update ldapjs 1.0.1 (#13049)
* Update ldapjs type definition to be compatible with ldapjs 1.0.1

* Update header

* Add missing property for connected

* Fix signatures and missing methods to @types/ldapjs

* Fix signature for mandatory parameter
2017-01-06 06:56:47 -08:00
Andy
81437fc576 Merge pull request #13351 from mehl321/types-2.0
[lodash] add type guards to isNull, isUndefined, isNil
2017-01-06 06:18:30 -08:00
Aluan Haddad
25ecee9513 Added the brand property to the StripeCardData and fix style issues, lint (#13084)
* Add the "brand" field to StipeCardData
Added the StipeCardDataBrand type.
Added the `brand` property to the `StripeCardData` declaration with the type
`'Visa' | 'American Express' | 'MasterCard' | 'Discover JCB' | 'Diners Club' | 'Unknown'`
Reference: https://stripe.com/docs/api#card_object

* Run linter, fix issues. set --strictNullChecks.
Unsure about ambient declaration:
Removed as it seemed to be in error:
  1. case was not correct
  2. the export was the type of the global which is unconditionally defined.
  3. this module does not seem a suitable candidate for a UMD declaration.

* Use header version of 0.0; explain Stripe versioning in comments

* Restore global

* Added tests
2017-01-04 09:20:13 -08:00
Grant Hutchins
f914c29ba3 googlemaps: Allow Marker.setAnimation(null) and Marker.setMap(null) (#13240)
* googlemaps: Allow Marker.setAnimation(null)

 * Also, turn on strictNullChecks
 * Allow new google.maps.Map(null) since it's technically possible with Google's example code from the docs

Signed-off-by: Iqbal Yusuf <iyusuf@corelogic.com>

* googlemaps: Allow Marker.setMap(null)

 * Also, add more test code from the Google Maps API documentation

Signed-off-by: Grant Hutchins <ghutchins@pivotal.io>
2017-01-03 14:40:53 -08:00
Masahiro Wakame
36a5697b55 fix chai-json-schema styling (#13537) 2017-01-03 14:37:51 -08:00
Fedor Nezhivoi
88184efb06 [react-intl] bugfix for #12716 (#12906)
* fix for issue introduced in https://github.com/DefinitelyTyped/DefinitelyTyped/pull/12716

* injectIntl is now usable as class decorator

* fixed test

* use inferface instead of type

* format document
2017-01-01 15:21:49 -08:00
Sam Bleckley
d9e5ce085f d3-selection: Mark before param of insert() as optional (#13090)
Selection<etc>.insert functions perfectly well without a `before` selector -- it does so in many d3 official examples.

This corrects the type signature to mark it as optional.
2017-01-01 13:16:46 -08:00
William Rummler
0232616783 Types 2.0 - Fix JS-quantities (#12739)
* Enable strict null checking per readme FAQ.

* Add tslint.json.

* Improve test file with project spec.

* Fix js-quantities d.ts, with adjustment of test.

* Add trailing newline to tslint.

* Simplify functional interface per linter.

* js-quantities: add readme examples to tests

* js-quantities: fix & clean declaration
2016-12-30 14:47:00 -08:00
Andy
432b65e625 Merge pull request #13614 from DefinitelyTyped/memoizee
`memoizee`: Clean up types
2016-12-29 15:01:19 -05:00
Andy Hanson
87fb535940 memoizee: Clean up types 2016-12-29 11:55:25 -08:00
Andy
84e67c4187 Merge pull request #13097 from juanpicado/types-2.0
Add memoizee definitions
2016-12-29 14:12:10 -05:00
Dona278
891694e90b [ng-file-upload]: Removed duplicate interfaces (#13518) 2016-12-28 14:06:33 -05:00
Guilhem Soulas
b2209b605a [lodash] add type guards to isNull, isUndefined, isNil 2016-12-28 17:52:36 +00:00
Martin Braun
0b42d8fab3 Some fixes in yFiles for HTML 2.0.0.0 typings. (#13490)
* Updated type definitions to yFiles for HTML 2.0.

* Updated type definitions to yfiles for HTML 2.0.

* Added contact in yfiles .d.ts header.

* Fixes to work with yfiles version 2.0.0.0.
2016-12-27 19:58:52 -05:00
Andy
f18ba49a11 colors: convert to external module (#13576) 2016-12-27 19:07:16 -05:00
Staffan Eketorp
3e45d42e16 Types 2.0 (#13294)
* colors: added "colors/safe" module

* colors: fix old lint error

* colors: added enabled: boolean for "colors/safe"
2016-12-27 18:12:58 -05:00
Carson Full
c3eef69e2e Redux Form v6 (#13214)
* [Redux Form] Rename current definitions to 4.0

* Added start of redux-form v6 definition

* Defined arrayMove parameter types

* Unexported action creators that are not exported

* Form props/methods don't need to be optional

* Updated decorator to infer the component generic type

* Fix reducer definition. State should always be the FormStateMap type not a generic. Returned is the state AND object with plugin method (not or).

* Removed namespace. I think this will make it easier to extend functionality....just follow redux's lead really.

* Split meta, input, and custom props from RC4 change. Renamed MyFieldProps to FieldCustomProps to match documented wording.

* Fix onDragStart, onDrop, onFocus

* Update SubmitHandler doc to give more info and reference SubmissionError

* Added Selectors

* Replace Form's fieldList with registeredFields

* Split FieldArray's meta props out from rc4 change

* Add submitSucceeded prop and setSubmitSucceeded action (#1428)

* Added parse() and format() to Field

* Removed value type from onBlur and onChange parameter (40c0d7e)

* Revert handleSubmit change so TS sees both definitions as methods.

* Nothing to see here...

* Added props parameter to config's validate

* Added array functions to FormProps

* Removed unexported action creators

* Overloaded reduxForm() to make generics optional.

* Refactor Generic* interfaces from Field and FieldArray. These will have the generics, and the classes will have those generics set to any :(

* Added some tests for definition.

* Added pure option to config

* Split definition into multiple files

* [tsconfig] no implicit returns or this. enabled strict null checks and decorators.

* Fix event handlers needing a element generic with any for now.

* Added Fields

* Updated definition for all changes up to v6.1.1.

* Missed errors prop on SubmissionError

* Updated definition for all changes up to v6.2.1.

* Added header

* Added validate and warn props https://github.com/erikras/redux-form/pull/2245

* Added clearAsyncError https://github.com/erikras/redux-form/pull/2213

* Added FieldArray get & getAll https://github.com/erikras/redux-form/pull/2247

* Updated version to 6.3.1

* Added react reference dependency

* Fix initialize action. Thanks @csillag

* Changed Normalizer, Formatter, Parser, Validator to types and exported them

* Added original author of v4 definitions
2016-12-27 18:12:06 -05:00
Mizunashi Mana
1a87b929f0 Fix rx type definitions (#13268) 2016-12-27 18:05:52 -05:00
Leo Liang
82cf8e532d soap.d.ts: ClientSSLSecurty constructor parameters (#13216) 2016-12-27 17:52:11 -05:00
Richard Bateman
be8241af5b Fix incorrect method definition in pdfkit.d.ts (#13205) 2016-12-27 17:40:53 -05:00
Andy
93afca9217 Lint lodash (#13158)
* Formatting fixes
* Replace `T[]|List<T>` with `List<T>`, since that's a supertype to `T[]`.
* Replace `T|T[]` with `Many<T>` for convenience
2016-12-27 17:33:18 -05:00
alelode
13048015ca Updated React-bootstrap-table typings from version 2.3.0 to 2.6.0 (#13151)
* Added onRowDoubleClick, hideSizePerPage, pageStartIndex, defaultSearch and expandRowBgColor to options object

* Added missing props
2016-12-27 17:31:41 -05:00
Andy
6278b1c44d Merge pull request #13106 from martin-helmich/bugfix/ssh2-index-type
ssh2: Error TS2411 when compiled with "strictNullChecks"
2016-12-27 17:29:45 -05:00
Andy
9f81ad785e Merge pull request #13074 from DavidKDeutsch/types-2.0
Moving old lodash-3.10 files to legacy directory
2016-12-27 17:15:07 -05:00
Andy
2ec9bef916 Merge pull request #12905 from richrout/patch-2
select2 templateSelection method signature
2016-12-27 16:33:49 -05:00
Andy
558bf1359a Merge pull request #12518 from cannontrodder/types-2.0
expose mock property
2016-12-27 16:32:14 -05:00
Horiuchi_H
ec8217f082 Merge pull request #13112 from DefinitelyTyped/angular_ui_test_cleanup
Remove unnecessary import
2016-12-27 18:46:55 +09:00
Horiuchi_H
da07d30842 Merge pull request #13328 from cailenmusselman/patch-5
react-native - ModalProperties should be optional
2016-12-27 17:03:45 +09:00
Jeff Jacobson
06d0604426 Types 2.0 (#13145)
* Added type definitions

* arcgis-to-geojson-utils
* arcgis-rest-api (dependency of arcgis-to-geojson-utils)

* Fixed tslint errors

* Added version numbers to headers
* Fixed other errors reported by TSLint.

* Added forceConsistentCasingInFileNames to tsconfig

* Modified arcgis-rest-api to be module

Definition file for arcgis-rest-api converted from namespace to module as suggested by @andy-ms.
See https://github.com/DefinitelyTyped/DefinitelyTyped/pull/13145#discussion_r91566132

* (lint) Added missing semicolon 🐛
2016-12-24 15:47:05 -05:00
Nicolas Goy
695104c848 Add contentLabel property (#13249)
As per 3d8e5a0746
2016-12-25 05:34:45 +09:00
Ryan Blace
8f4c8d6c5b [types/leaflet-draw] Fixes and updated to work with Leaflet 1.x and Leaflet Draw 0.4.6 (#13262)
* Updating to work with Leaflet 1.x and Leaflet Draw 4.x

* Removing the I in the interfaces to be consistent with Leaflet

* Just updating a missing semicolon
2016-12-25 05:25:09 +09:00
Skuriles
526666ccd5 export module for highstock, renamed __Highstock to Highstock (#13312) 2016-12-25 05:16:32 +09:00
Jason Healy
fce4624320 Adding union types to transform style to fix type issues (#13295) 2016-12-25 05:08:19 +09:00
Brendan Forster
30528a61d9 added the documented lineAtHeight function (#13287) 2016-12-25 05:05:55 +09:00
Ian Copp
7aa967b4ae Update chrome.sockets.udp and chrome.sockets.tcpServer in chrome package (#13289)
* Update chrome.sockets.udp

* Update chrome.sockets.tcpServer
2016-12-25 05:05:41 +09:00
Jared Szechy
fd12651685 Add datatables.net select and fixedheader extensions (#13286) 2016-12-25 05:04:58 +09:00
Benjamin
f81674ce59 Update Raygun4JS definition to version 2.4.2 (#13281)
* Updated raygun4js definition to match version 2.4.2

* Tests updated

* Raygun function interface created for the V2 api

* Added window definition. V2 user details interface added. Refactored V2 declaration.

* V2 api tests added

* Documentation added to options.
2016-12-25 05:04:00 +09:00
Stephan
7e9d61b788 Fixed typo (#13270)
ChartElementsOptions.arg -> ChartElementsOptions.arc
ChartArcOtpions ->ChartArcOptions
2016-12-25 05:00:41 +09:00
Mizunashi Mana
72d0113cbd Add is-windows type definition (#13006) 2016-12-25 04:58:58 +09:00
Mizunashi Mana
a9156baa37 Fix csv-stringify types (#13252) 2016-12-25 04:58:26 +09:00
Leo Liang
2157d75e67 Add method describe to Client. (#13266) 2016-12-25 04:57:38 +09:00
Ian Copp
94c44cad2e Fix dgram.Socket#ref and #unref (#13242)
These two methods both return the socket, than being void.
2016-12-25 04:54:35 +09:00
Dave
d2c72d7337 improve jade typings (#13075) 2016-12-25 04:49:22 +09:00
Russell Black
a0bc1d544c restify: added requestTimeout to client options (#13208)
See http://restify.com/#createjsonclientoptions
2016-12-25 04:48:45 +09:00
Erin Coughlan
a8cfbbd573 Update angular-material typings for IPanelRef (#13238) 2016-12-25 04:46:22 +09:00
Stephen Lautier
c78a0154b5 lodash-es: fix dep to point properly to @types/lodash (#13213)
* feat(lodash-es): fix dep to point properly to `@types/lodash` instead of `lodash`

* lodash: removed `package.json` as packages deps are inferred automatically
2016-12-24 11:51:59 -05:00
Danny Cochran
383fca5ed7 add scroll handlers to ScrollView (#13237) 2016-12-24 19:42:14 +09:00
Steve Faulkner
28f528ffab Add zscanStream redis command (#13212)
This exists as a command in `ioredis` but was missing from the type definition.
2016-12-24 19:35:21 +09:00