Commit Graph
19203 Commits
Author SHA1 Message Date
anuti 7cdeddfc0d Create chart2.d.ts
Chart JS library has been updated to version 2.0 although no one has yet created the proper definitions files. For this reason I propose my file while being aware that still needs lots of work. In addition to the usual bug there are  shortcomings in the definition of many functions, as the official guide does not specify the parameter's types.

in the hope that this can help someone.
2016-06-13 19:26:06 +02:00
Pieter Raubenheimer f3911d7110 Update nock.d.ts (#9633) 2016-06-14 01:04:05 +09:00
Rudolph Gottesheim ae0690be81 Add missing signature to interact() (#9631)
* Add missing signature to interact()

 See http://interactjs.io/docs/#selector-contexts

* Use double quotes for consistency
2016-06-14 01:03:13 +09:00
Milan Burda 42ceed2dbe Update to Electron 1.2.2 (#9620) 2016-06-14 00:58:29 +09:00
mperdeck 60ae46fd6b jsnlog additions (#9628)
* Adding jsnlog

* Adding jsnlog

* remove interfaces file

* redoing the files

* adding jsnlog

* Added functions getOffLevel and getAllLevel. Also added class Exception. Some restructuring was required to define this class.
2016-06-14 00:58:06 +09:00
devlee 79c0c9dbfc Add .d.ts for co-views (#9558)
* Add .d.ts for co-views

* Update co-view.d.ts

Fix bug, the render function should return any

* Update and rename co-view.d.ts to co-views.d.ts

Fix naming conventions

* Update and rename co-view-tests.ts to co-views-tests.ts

Fix naming conventions

* Update co-views-tests.ts

Fix reference path
2016-06-14 00:57:46 +09:00
Andrei Alecu 727fda26f9 pdfkit: fix several outdated/wrong definitions (#9621)
* fix(pdfkit): several outdated/wrong definitions

* change any to string
2016-06-14 00:54:54 +09:00
Kaur Kuut 3ed769caac Added polyfill method to es6-promise. (#9627) 2016-06-14 00:54:21 +09:00
Sunil 6358a5c6e9 Add EmailTemplateOptions interface, and add it as an optional param t… (#9625)
* Add EmailTemplateOptions interface, and add it as an optional param to the constructor.

* Include the subject property in the EmailTemplateResult
2016-06-14 00:50:46 +09:00
igrayson 8e54cc841f aws-sdk: Fill out ecs.describe* (#9600) 2016-06-14 00:48:05 +09:00
Benjamin Fox 623f30ab19 Add overloads for all to support typed arrays (#9622)
Adds overloads for arrays of up to 6 elements, before
falling back to old behaviour.
2016-06-14 00:47:56 +09:00
Adam Gordon 0c1189250f fix(ui-grid): fix isRowSelectable typing (#9594)
* per [the ui-grid
  documentation](http://ui-grid.info/docs/#/tutorial/210_selection),
  `isRowSelectable` is a function that returns a boolean, rather than a straight boolean property.
2016-06-14 00:45:53 +09:00
Michael Huynh 6abf99dda1 Add extra static members to the Node Error class (#9618)
Defines `stackTraceLimit` and `captureStackTrace` as static members for
the Error class in Node so their usage can be recognised.
2016-06-14 00:40:55 +09:00
Tobias Cohen 99b618fb39 Add definitions for FastSimplexNoise (#9616) 2016-06-14 00:32:30 +09:00
Maksim Kozhukh 6de441477f [update] dhtmlxscheduler - definitions for Scheduler 4.3.0 (#9615)
* [update] dhtmlxscheduler - definitions for Scheduler 4.3.0

* [update] definitions for filtering callbacks
2016-06-14 00:31:59 +09:00
Maksim Kozhukh bc0288da14 [update] dhtmlxGantt - definitions for Gantt 4.0.0 (#9614) 2016-06-14 00:28:45 +09:00
Sean Kelley 1a0e25dcdd Generically-typed overload for _.fromPairs that allows better inferences in some situations. (#9572) 2016-06-14 00:22:03 +09:00
Sean Kelley 92046fb39a Add more-specific overloads to _.values to gete better type-checking in some scenarios. (#9556) 2016-06-14 00:21:55 +09:00
eyal1990 932a88fb5b Fixed intreactjs's module name (#9604)
* Fixed module name

The module name should be equal to the name of the package in interactjs's package.json file (https://github.com/taye/interact.js/blob/master/package.json)

* fixed module name test
2016-06-14 00:19:11 +09:00
Nejc Zdovc aadf20e903 Jquery Tooltipster - Updated to version 3.3.0 (#9340)
* Updated jquery.tooltipster to version 3.3.0

* Added missing hideOnClick option
2016-06-14 00:15:28 +09:00
Boris Aranovich 07c949931f Angular 1.5+ component Controllers lifecycle hooks (#9606)
Angular 1.5+ component Controllers have four new lifecycle hooks:
$onInit()
$onDestroy()
$onChanges(...)
$postInit()

There is currently no reference to any of then in the definitions files.

I added an additional interface to the component's controller type that defines the new hooks with the official documentation from docs.angularjs.org
2016-06-14 00:10:08 +09:00
Gareth Smith aa8af2a5df Augment the sortingAlgorithm type with all its documented arguments. (#9480)
* Augment the sortingAlgorithm type with all its documented arguments.

* Oops, use the correct types for rowA and rowB

* Add a test to prove that filter condition functions do not need to declare all the parameters they are passed.
2016-06-14 00:02:55 +09:00
russoturisto 16887172d8 Added CollaborativeList related definitions (#9564) 2016-06-13 23:58:14 +09:00
Roman V 6f6cac0b82 Jasmine-Ajax: Adds missing 'params' property for JasmineAjaxRequest (#9603) 2016-06-13 23:44:26 +09:00
Adam Charron 51ffec4ea3 Fix method .returning() and check if Promise exists before polyfilling it. (#9590)
* Check if Promise exists and fix returning

* Remove the bluebird check
2016-06-13 23:41:14 +09:00
Matthew Lahmann 4e6d9cc32c Added autoResize to RenderOptions (#9601)
http://pixijs.github.io/docs/PIXI.WebGLRenderer.html
If the render view is automatically resized, default false
2016-06-13 23:41:05 +09:00
Brandon Fish aa8f544267 Make LatLng.wrap function arguments optional (#9599)
It appears that LatLng.wrap arguments are optional and default values are used when they are not given: http://leafletjs.com/reference.html#latlng-wrap
2016-06-13 23:40:25 +09:00
berwyn a866157b01 slickgrid: Add CheckboxSelectColumn and ColumnPicker (#9598) 2016-06-13 23:38:41 +09:00
ven 00c03deedd new on a IResourceClass will return a IResource (#9593) 2016-06-13 23:22:17 +09:00
Daniel Rosenwasser f481e77dfc Merge pull request #9577 from zachCatalyst/master
Updated existing cordova.exec method signature.
2016-06-08 14:13:23 -07:00
vvakame e0e746833c Merge branch 'Flarna-node_prepend_listeners' 2016-06-08 20:09:41 +09:00
vvakame e3e600dcb2 fix pty.js/pty.js.d.ts typings 2016-06-08 20:09:10 +09:00
vvakame 30e5a9f99a Merge branch 'node_prepend_listeners' of https://github.com/Flarna/DefinitelyTyped into Flarna-node_prepend_listeners 2016-06-08 20:06:40 +09:00
Andy Shu Xin d0d756ea7f Update React Native Definition to 0.27 (#9563)
* RN: add props definition for WebView

* RN: Add platform-specific props to WebView

* RN: Add getWebViewHandle method

* RN: add source props to WebView

* RN: fix type of decelerationRate

* RN: Update Picker.Item props

* RN: Update props name

* RN: Clarify mode range

* RN: Add definition for DrawerLayoutAndroid

* RN: Update Image

* RN: Update ListView

* RN: Update MapView to 0.25

* RN: Add Modal

* RN: Update ScrollView

* RN: Add SegmentedControlIOS

* RN: Add Slider

* RN: Update SliderIOS

* RN: Define Status Bar

* RN: export StatusBar

* RN: Define Switch

* RN: Update Text

* RN: Update TextInput

* RN: Add ToolbarAndroid

* RN: Update TouchableOpacity

* RN: Update TouchableWithoutFeedback

* RN: Update View

* RN: Update ViewPagerAndroid

* RN: Fix mistakes

* RN: Unify indentation

* Add 2 components; fix some minor problems

* fix: follow the convention

* RN: Update ActionSheetIOS

* RN: Add Alert api

* RN: Fix reference

* RN: Update AlertIOS

* RN: add typing for type parameter

* RN: Update AppRegistry

* RN: Update AppState and AppStateIOS

* RN: Add BackAndroid

* RN: Update Camera Roll

* RN: Add Clipboard

* RN: Add DatePickerAndroid

* RN: Update Dimensions

* RN: Update InteractionManager

* RN: Add methods to DrawerLayoutAndroid

* RN: Export DatePickerAndroid

* RN: Add IntentAndroid

* RN: Add Linking

* RN: Add LinkingIOS

* RN: Add NetInfo

* RN: Update PixelRatio

* RN: Update PushNotificationIOS

* RN: Update StyleSheet

* RN: Add TimePickerAndroid

* RN: Update ToastAndroid

* RN: Add Vibration

* RN: Set stricter definition for flexbox props

* RN: Define ShadowPropTypesIOSStatic

* RN: Fix indentation

* RN: Add Geolocation

* RN: Export Geolocation

* RN: Move Geolocation to proper position

* RN: Define fetch

* RN: Fix tabs

* RN: Define schedulers

* RN: Major fixes from @PublicParadise

* RN: Update version

* RN: Add documentation as comments

* RN: Add more comments

* fix: typo

* add some missing callbacks

* RN: Export switch

* add missing commentes

* Fix(Switch): add style property

* RN: Update Navigation Experimental

* RN: Define SwipableListView

* RN: Add necessary marks

* RN: Improve unclear typing

* RN: Enable pagingEnabled for ScrollView

* RN: Enable returnKeyType for both platforms

* RN: Add returnKeyLabel to Android

* RN: Add a prop

* RN: Add scrollEnabled prop in 0.27

* RN: Add new prop from 0.27
2016-06-08 20:05:12 +09:00
Long Ho 67e46404d7 expose Context and Route for pages.js (#9490) 2016-06-08 20:01:28 +09:00
Felipe Orozco 00b9a0f821 added access to less internal options (#9587) 2016-06-08 19:50:36 +09:00
homesar 0a23a2055d Updating angular-mocks to 1.5 (#8579)
* Updating angular-mocks to 1.5

* Fixing test

* cleanup
2016-06-08 19:47:21 +09:00
Artur Eshenbrener f20a05ba43 react-router: History.Location missed prop "hash" (#9567) 2016-06-08 19:27:30 +09:00
Michael Ledin 4124d66bae navDrawer instead of drawer in v0.15.0. (#9566) 2016-06-08 19:26:58 +09:00
s ab5026db99 Update and correct Web MIDI API typings (#9562)
* Update WebMIDI API to use ES6 Iterators and tuples

* Update WebMIDI tests and remove dead code

* Fix further issues by rewriting definitions based on WebIDL from latest W3C draft spec

* Update WebMIDI API tests
2016-06-08 19:23:31 +09:00
miluu f7da078493 declare module (#9559) 2016-06-08 19:21:53 +09:00
Pei-Tang Huang 5cd8a64540 Showdown 1.4.1 (#9508)
* Change converter to Converter.

* Align interface to 1.4.1.

* Correct extension interface.
2016-06-08 19:20:04 +09:00
Brian Pfretzschner 93ca28cc11 Fixed two any type annotations (#9553)
Fixed two TypeScript errors when noImplicitAny is set to true:

    .../typings/globals/pouchdb/pouch/index.d.ts(178,14): error TS7006: Parameter 'any' implicitly has an 'any' type.
    .../typings/globals/pouchdb/pouch/index.d.ts(229,18): error TS7010: 'emit', which lacks return-type annotation, implicitly has an 'any' return type.
2016-06-08 19:18:05 +09:00
Artur Eshenbrener df9065dc6e react-router: export routerShape and historyShape (#9551)
https://github.com/reactjs/react-router/blob/0616f6e14337f68d3ce9f758aa73f83a255d6db3/modules/PropTypes.js#L9
https://github.com/reactjs/react-router/blob/0616f6e14337f68d3ce9f758aa73f83a255d6db3/modules/PropTypes.js#L19
2016-06-08 19:17:47 +09:00
Moritz 8d7c3081e7 react-select: Fix definition of loadOptions-cb (#9549)
Adding the second parameter:
--
LoadOptions is called here with the value of the responseHandler-Variable:
https://github.com/JedWatson/react-select/blob/74e0f08/src/Async.js#L138

The implementation of that function is here:
https://github.com/JedWatson/react-select/blob/74e0f08/src/Async.js#L102

It's very obvious that this function needs two parameters.

The data-parameter:
--
See their readme.md file:
https://github.com/JedWatson/react-select/tree/74e0f0867f1a2338070a07bcfc0bb452fa80dbc4#async-options

The also matches the expected variables in the code.
2016-06-08 19:17:07 +09:00
Artur Eshenbrener 3b32b57713 [RFC] Lodash flow better arguments (#9492)
* Add a lot of generic variants of _.flow

* lodash: write test for `_.flow` overloads
2016-06-08 19:16:02 +09:00
Giedrius Grabauskas 66999f382f Updated: SystemJS v0.19.29 definitions (#9525)
* Renamed systemjs definitions file old version file.

* Renamed old systemjs tests file.

* Init systemjs definitions file 0.19.29 file added.

* Init systemjs tests file 0.19.29 added.

* normalizedParentName changed to string in SystemJS

* Optimized code ant fixed some any

* Fixed old version naming.

* Removed `v` from version.

* Updated package name in definitions file.

* Added loads list.

* Update systemjs.d.ts

* Added old authors.
2016-06-08 19:14:55 +09:00
Gheorghe Anghelescu 74bfa26b4b change os.endianness() to string literal type (#9588) 2016-06-08 17:37:20 +09:00
Sean Kelley 57f79a1f3c Add null assertions and an undefined assertion alias to should.js. (#9497) 2016-06-08 17:28:54 +09:00
meum 30dcb3a252 Fix typo in c3.d.ts (#9582) 2016-06-08 17:27:56 +09:00