Commit Graph
21714 Commits
Author SHA1 Message Date
danderson00 708b7be873 Fix hook function types 2016-09-19 23:04:19 -07:00
danderson00 6ce6486f52 Update to 3.0.0 2016-09-19 22:30:59 -07:00
Andy 349b639b35 Merge pull request #10994 from bezreyhan/master
allow tooltip prop of IconButton to be a ReactNode | string
2016-09-19 14:06:56 -07:00
Andy 3c7a051355 Merge pull request #11198 from Tomino2112/master
removeAllListeners parameter should be optional
2016-09-19 12:40:56 -07:00
Andy e3c57dbe79 Merge pull request #11215 from thegaryroberts/patch-1
Update react-router.d.ts
2016-09-19 11:11:33 -07:00
Andy e461330a9a Merge pull request #11311 from MadDeveloper/fix_facebook_sdk
Fix facebook sdk
2016-09-19 07:30:39 -07:00
Andy 9913296340 Merge pull request #11312 from sumit2chauhan/patch-1
There is a typescript build error in this
2016-09-19 07:28:50 -07:00
sumit2chauhan a03bb7d3be There is a typescript build error in this
The property " component? " in IModalSettings is repeated.
2016-09-19 14:35:01 +05:30
Julien Sergent 4f0bb211cf Update facebook-js-sdk-tests.ts 2016-09-19 10:50:50 +02:00
TonyYang 012b7f1072 [node] Format test definition (#11308)
* Format test definition in v4.x

* Format test definition in v6.x
2016-09-19 16:24:01 +09:00
doronbrikman 150546f73b Update enzyme.d.ts (#11252)
add render method to ReactWrapper
2016-09-19 16:23:35 +09:00
TonyYang b36bf17397 [pug] Create pug definition (#11258)
* Create pug.d.ts

* Create pug-test.ts

* Add project in comments

* Rename
2016-09-19 16:23:24 +09:00
Denis 4c7b1220e0 Implemented shapefile definition (#11307)
* Implement shapefile definition

* Implement shapefile definition

* Shapefile remove Promise reference
2016-09-19 16:22:08 +09:00
Mitchell Wills 1ce244c131 Correct the Angular Material IToastService updateContent typings (#11305) 2016-09-19 16:19:32 +09:00
Jay Anslow 4fd81af1e8 Use bluebird@3 instead of @2 (#11299) 2016-09-19 16:18:23 +09:00
Denis 6fbe7a4242 Implemented Proj4 definition (#11303)
* Implement Proj4 definition

* Add proj4 tests
2016-09-19 16:18:09 +09:00
TonyYang e0e86e3535 [express] http.createServer can take express app (#11292)
* Create pug-test.ts

* Test http.createServer can take express app

* Delete this
2016-09-19 16:16:55 +09:00
iskandersierra cf6fef6e8a Added typings for change-emitter@0.1.2 (#11295) 2016-09-19 16:14:34 +09:00
Stefan Dobrev 549f6a3fa9 Add svgIcon to MuiTheme (#11293)
https://github.com/callemall/material-ui/blob/master/src/styles/getMuiTheme.js#L249-L251
2016-09-19 16:09:32 +09:00
Alejandro Sánchez 1adaa22d7a [WIP] Add type definitions for Leaflet 1.0 (#11165)
* Rename leaflet.d.ts to leaflet-0.7.d.ts

* Defined several important interfaces and the skeleton of some others

* Started adding tests

* Added more interfaces, factory methods and tests

* Implemented other interfaces and nested namespaces

* Added more types
2016-09-19 16:07:25 +09:00
Milan Burda 4b82641492 Update to Electron 1.3.6 (#11229) 2016-09-19 15:56:50 +09:00
Borislav Zhivkov ee9a615939 Add angular-feature-flags definitions (#11283) 2016-09-19 15:51:04 +09:00
Denis 80e5c9b45b Define Turf 3.5.2 definition (#11123)
* Define Turf 3.5.2 definition
Update all methods with newest JSDocs & tests based on the latest TurfJS library.

AGGREGATION
- [x] collect
MEASUREMENT
- [ ] along
- [ ] area
- [ ] bboxPolygon
- [ ] bearing
- [ ] center
- [ ] centroid
- [ ] destination
- [ ] distance
- [ ] envelope
- [ ] lineDistance
- [ ] midpoint
- [ ] pointOnSurface
- [ ] square
TRANSFORMATION
- [ ] bezier
- [ ] buffer
- [ ] concave
- [ ] convex
- [ ] difference
- [ ] intersect
- [ ] simplify
- [ ] union
MISC
- [ ] combine
- [ ] explode
- [ ] flip
- [ ] kinks
- [ ] lineSlice
- [ ] pointOnLine
HELPER
- [x] featureCollection
- [x] feature
- [x] lineString
- [x] multiLineString
- [x] point
- [x] multiPoint
- [x] polygon
- [x] multiPolygon
- [x] geometryCollection
DATA
- [x] random
- [x] sample
INTERPOLATION
- [ ] isolines
- [ ] planepoint
- [ ] tin
JOINS
- [ ] inside
- [ ] tag
GRIDS
- [ ] hexGrid
- [ ] pointGrid
- [ ] squareGrid
- [ ] triangleGrid
- [ ] within
CLASSIFICATION
- [ ] nearest
META
- [ ] propEach
- [ ] coordEach
- [ ] coordReduce
- [ ] featureEach
- [ ] getCoord
ASSERTIONS
- [ ] featureOf
- [ ] collectionOf
- [ ] bbox
- [ ] circle
- [ ] geojsonType
- [ ] propReduce
- [ ] coordAll
- [ ] tesselate

* Added Turf Grids functions
- Added more variables to data initialisation.
- Remove excess feature points.
- Add URL in `@name` in function JSDocs

GRIDS
- [x] hexGrid
- [x] pointGrid
- [x] squareGrid
- [x] triangleGrid

* Use the latest Turf import
- Added in test case how to import individal functions
npm install in Node.js
```
npm install @turf/turf
```
https://github.com/Turfjs/turf

* Change Turf functions into interfaces

* Added Turf typeof units
`units` is an optional parameter for all Turf functions with the following options `'miles' | 'nauticalmiles' | 'degrees' | 'radians' | 'inches' | 'yards' | 'meters' | 'metres' | 'kilometers' | 'kilometres'`

* Update Turf `inside` & `tag`
Add JSDocs & validate both methods

* Add imports to Turf submodules

* Add Author to Turf
@vvakame followed the same syntax as Lodash

* Simplify Turf `intersect` interface
Turf only officially supports `poly,poly`, all other geometry input/outputs are valid, however can't control the outputs.
https://github.com/Turfjs/turf/pull/479

* Comment Turf export default module
Next release of Turf will have this implemented

* Remove default export turf
Was meant to be a comment instead, removed it for now to be safe, it will become available next release

* Added Turf.bbox function
2016-09-19 15:50:52 +09:00
Dmitry A. Efimenko 93d269d6da added prop options and func timeFormatter (#11256)
added property `options`, which can be found in [the code](https://github.com/joewalnes/smoothie/blob/15fc4b62f5b23c8d5dd1784c820ae73f341626e6/smoothie.js#L270).
Even though it's not mentioned in the docs, it useful to be able to access these options after chart is initialized when you want to change appearance in real tme.

added function `timeFormatter`, which is mentioned in [right here, in the definitions](https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/smoothie/smoothie.d.ts#L127) and can be found in [the code](https://github.com/joewalnes/smoothie/blob/15fc4b62f5b23c8d5dd1784c820ae73f341626e6/smoothie.js#L795)
2016-09-19 15:49:21 +09:00
TonyYang 28d9437778 Add events for fs (#11277) 2016-09-19 15:30:32 +09:00
TonyYang 48649b8718 [node] Add events and exitedAfterDisconnect in cluster.work (#11275)
* Add events for cluster.worker

* Add exitedAfterDisconnect for cluster.Worker
2016-09-19 15:29:20 +09:00
Endel Dreyer b0a9f0e1db Add totalFrames and duration properties to MovieClip (#11270)
Official documentation for those properties:

- http://www.createjs.com/docs/easeljs/classes/MovieClip.html#property_totalFrames
- http://www.createjs.com/docs/easeljs/classes/MovieClip.html#property_duration
2016-09-19 15:24:20 +09:00
ersimont 18d656dda3 Update angular-ui-bootstrap.d.ts (#11263)
Add `component` option for modals
2016-09-19 15:19:25 +09:00
Alexander Kalitenya 8a8a139621 Update auth0.lock.d.ts (#11199) 2016-09-19 15:17:38 +09:00
Denis 609f1f78e8 Implement concaveman definition (#11262)
* Implement concaveman definition
Author of concaveman module @mourner

* remove console log
2016-09-19 15:17:07 +09:00
Nick Graef 50155318b2 fix function signatures (#11261)
Documentation: https://github.com/mgonto/restangular#restangular-methods

According to the documentation and source code, `all` and `allUrl` return collections, not elements.
Additionally, the `post` signature without `subElement` is only available on collections, not elements.
2016-09-19 15:16:16 +09:00
Denis c0ce167c10 Improve polylabel ES6 import syntax (#11260)
Using `import * as polylabel from 'polylabel'` is now valid in Typescript vs. require('polylabel').
2016-09-19 15:15:35 +09:00
Zipeng WU 83adc941d1 Support syncBrushing option on Focus component (#11204) 2016-09-19 15:15:16 +09:00
Martin D e69548d340 Fixed arguments for tooltips value formatting (#11253)
* Update c3.d.ts

Fixed arguments for tooltips value formatting

* Update c3.d.ts
2016-09-19 15:15:00 +09:00
Natan Vivo 863fdd02c6 Added component option to angular ui bootstrap modal settings. (#11249) 2016-09-19 15:13:38 +09:00
Constantin 5e55876028 webix - added fail to Promise (#11250) 2016-09-19 15:11:16 +09:00
Tommy Frazier 3e403832f6 Add httpsServerOptions to ServerOptions interface (#11155) 2016-09-19 15:10:41 +09:00
TonyYang 9d4d9924f1 [node] Clean up tls_tests and wrap in namespace (#11248)
* Clean up tls_tests and wrap in namespace for v6.x

* Clean up tls_tests and wrap in namespace for v4.x
2016-09-19 15:10:19 +09:00
Julien Sergent e0a4b59de6 Update facebook-js-sdk.d.ts 2016-09-17 00:05:58 +02:00
Dave Dunkin 7c9f3114a7 Fix elasticsearch get, mget, msearch responses. (#11259)
* Fix elasticsearch get, mget, msearch responses.

* Fix contributor github links.
2016-09-16 12:10:31 -07:00
Horiuchi_H 154a9c0274 Merge pull request #11247 from TonyPythoneer/patch-37
[twilio.d.ts] Since express has been imported, it should be used
2016-09-16 10:44:35 +09:00
Blake Smith 9dbdb50546 Updating elasticsearch definition with some of the missing components (#11149)
* Updating elasticsearch definition with some of the missing components. (https://www.elastic.co/guide/en/elasticsearch/client/javascript-api/current/api-reference.html#api-cluster-getsettings)
Adding Cluster definitions, one Cat definition.

* Correcting header.
2016-09-15 22:46:59 +09:00
TonyYang 4871fb2876 Add listening for http.Server (#11246) 2016-09-15 22:45:12 +09:00
TonyYang 48f9040fcc [node-tests.ts] Clean up crypto_tests and wrap in namespace (#11242)
* Clean up crypto_tests tests and wrap in namespace

* Clean up crypto_tests and wrap in namespace

* Use let to declares a block scope local variable

* Use let to declares a block scope local variable
2016-09-15 22:44:31 +09:00
TonyYang 62f98f1a3b [node-tests.ts] Clean up http_tests and net_tests (#11240)
* Clean up http_tests and net_tests

* Clean up fs tests and wrap in namespace
2016-09-15 22:43:21 +09:00
Jeremy Foster 89030200ce add err:any to close, flush, and drain methods (#11239) 2016-09-15 22:42:49 +09:00
TonyYang d685402549 [node-tests.ts] The test should test type, not function (#11238)
* The test should test type, not function

* The test should test type, not function
2016-09-15 22:42:34 +09:00
TonyYang a72353df24 [node-tests.ts] A test should move to events_tests in node (#11237)
* A test should move to events_tests in node v6.x

* A test should move to events_tests in node v4.x
2016-09-15 22:42:17 +09:00
TonyYang 9d66141d07 [node.d.ts] Update cluster definition (#11235)
* Update cluster

* Add ;
2016-09-15 22:41:55 +09:00
Mykhailo Stadnyk 1e4db4e187 Added type definitions for new module canvas-gauges (#11211)
* Added type definitions for new module canvas-gauges

* definitions re-factored as a ghost module

* Typo fixed in url protocol
2016-09-15 22:40:19 +09:00