Commit Graph
7126 Commits
Author SHA1 Message Date
CodeAnimal 0e05ddf68e Update header info
Add Carlos Ballesteros Velasco <https://github.com/soywiz> back into
"Definitions by" header line.
2014-09-25 01:40:38 +01:00
CodeAnimal f8127f0223 Remove legacy node references
The legacy node references have been removed to stop the global
namespace being littered with old node definitions.
2014-09-25 01:13:47 +01:00
Jeff Fisher 6370ba5a78 Big update of WinJS definitions.
Went through and did a large number of fixes as part of converting the WinJS test tree to TypeScript.

Full list of changes:

Fix small issue with WinJS.Promise.timeout. (The first argument should be optional.)

Remove an unnecessary comment about winControl.

Fix WinJS Promise types

Make addEventListener and removeEventListener static.

markDisposable's second argument is optional.

WinJS.UI.Fragments.clearCache had a missing overload.

Add missing overload for WinJS.UI.Fragments.renderCopy.

WinJS.Class.define constructor parameter is optional.

Add override for WinJS.log

Message can also be a function that returns a string.

Also add override for WinJS.Utilities.startLog

All ILogOptions properties are optional.

Make WinJS.log arguments optional.

WinJS.Resources.processAll returns a Promise.

Add WinJS.Utilities.Scheduler.currentPriority

Make WinJS.Promise.wrap()'s argument optional.

Make IXHROptions data property optional.

Add CustomRequestInitializer to IXHROptions.

Correct doc comment for WinJS.Application.*.writeText

Fix declaration for static render on WinJS.Binding.Template.

Add WinJS.Utilities.getTabIndex.

Add overload for WinJS.Utilities.QueryCollection.include

Fix WinJS.Utilities.getRelativeTop and getRelativeLeft parameters.

Add getScrollPosition and setScrollPosition.

Make BindingList.createGrouped last argument optional.

Fix return type of WinJS.UI.computeDataSourceGroups()

Add missing static createResultSuggestionImage to WinJS.UI.SearchBox.

Add missing overload for WinJS.Binding.List.push()

Add generic overload for IItemPromise.then()

Fix the return value of IItemPromise.then to be correct.

Promise.dispatchEvent should be static.

Fix IItemPromise.retain return value.

Create IPromise interface.

This helps type coercion with custom promise types (such as IItemPromise).

Add missing animations to latest d.ts.

Update optional parameters on animations.

Add BindingList.unshift overload

Fix BindingList.sort() to have argument be optional.

Fix arguments for BindingList.splice and BindingList.join

Fix BindingList.lastIndexOf optional second argument.

Fix return time of items in GroupedSortedListProjections.

Make last argument of QueryCollection.template optional.

Fix WinJS.UI.Repeater constructor.

Fix the type of the second parameter of the WinJS.Binding.Template constructor

Update WinJS.UI.ListLayout so that it implements ILayout2.

Update WinJS.UI.GridLayout.

Add static Promise.cancel property.

Add type property to IListViewItem

Make argument to Promise.as optional.

Add AppBar.closedDisplayMode

Make some arguments optional on Flyout.show()

Make arguments optional on Menu.show();

Fix generic type of Hub.zoomableView.

Add missing Promise.then overloads.

Update author information

Fix IPageControlMembers to reflect the real contract.

TypeScript doesn't allow overrides to vary only by return type, so we have to use any as both void and returning a Promise are allowed.

WinJS.UI.Pages.render()'s second argument is optional.

WinJS.UI.Pages.render() returns a promise to the page itself.

Fix return values of WinJS.UI.Pages.get/define.

Add Pivot and PivotItem to latest d.ts.

Fix PivotItem.header type
2014-09-24 14:32:25 -07:00
CodeAnimal 42dc44b2d5 Update winston definitions and tests
A large rewrite, with greater detailed definitions.

*BREAKING CHANGE:* winston.Transport and winston.Logger types have been
renamed to winston.TransportStatic and winston.LoggerStatic
respectively. Instantiating the types still uses the old syntax: ```var
logger = new winston.Logger``` but the return type's name has had
"Static" appended.
2014-09-24 22:05:34 +01:00
Josh Smith e3382e45a7 Simple Test Components 2014-09-24 11:37:57 -07:00
Phips Peter 97f591c7df Reformatting for style changes with IntelliJ
Just want to uphold good style.
2014-09-24 11:15:28 -07:00
Phips Peter 46997c99af Adding SvgAttributes
Unfortunately SvgAttributes require union types and cannot be properly
typed.
2014-09-24 11:09:21 -07:00
Phips Peter e8c13a940c Cleaning up the attribute interfaces 2014-09-24 11:01:33 -07:00
Masahiro Wakame c8b6954f44 Merge pull request #2867 from adidahiya/pickadate
Add pickadate.js typings
2014-09-25 01:36:39 +09:00
Adi Dahiya 648f460f30 Update pickadate.d.ts to expose only one top-level module
* Also update CONTRIBUTORS.md
* Add api method chaining to pickadate-tests.ts
2014-09-24 12:15:09 -04:00
Masahiro Wakame ec8e7c8d59 Merge pull request #2869 from xi/moment-fix-locale
Moment: fix locale
2014-09-25 01:10:28 +09:00
Masahiro Wakame 6356aa56b3 Merge pull request #2864 from stkb/request
request.d.ts: fixing RequestAPI.Options.form type
2014-09-25 00:54:54 +09:00
Masahiro Wakame e19fe54bcd Merge pull request #2863 from DickvdBrink/selenium
selenium-webdriver: Added selenium testing & executors modules
2014-09-25 00:35:03 +09:00
Masahiro Wakame e41fcc00e6 Merge pull request #2862 from markashleybell/mustache-0.8.2
Add definitions for mustache.js 0.8.2
2014-09-25 00:29:18 +09:00
Masahiro Wakame 06da15786b Merge pull request #2859 from slovely/patch-1
Updated "google.maps.geometry.poly" to static
2014-09-25 00:15:04 +09:00
Masahiro Wakame 549d5ac036 Merge pull request #2858 from progre/feature/gulp-fix-stream
Fix gulp method return values
2014-09-25 00:14:18 +09:00
Masahiro Wakame bcd10d18a0 Merge pull request #2857 from shinnn/fastclick
Add definitions for FastClick
2014-09-25 00:10:08 +09:00
Masahiro Wakame 18ab27885e Merge pull request #2845 from CodeAnimal/node-radius
Add node-radius definitions and tests
2014-09-24 23:52:33 +09:00
Masahiro Wakame 79dfd768f8 Merge pull request #2844 from CodeAnimal/node-ip
Add node-ip type definitions
2014-09-24 23:52:06 +09:00
Masahiro Wakame 9ec575fc22 Merge pull request #2854 from AdaskoTheBeAsT/master
Knockstrap definition file added
2014-09-24 23:51:19 +09:00
Masahiro Wakame a9be008554 Merge pull request #2852 from pine613/feature/zepto/appendTo
Added appendTo overload
2014-09-24 23:46:47 +09:00
SomaticIT 4b57e494f7 Fix contributors.md node-sqlserver was renamed msnodesql 2014-09-24 16:45:12 +02:00
CodeAnimal 68e02ce374 Rename node-radius directory to radius
Rename node-radius directory to radius to match its library name on npm.
2014-09-24 15:43:41 +01:00
CodeAnimal 5c7e823506 Rename node-ip directory to ip
Rename node-ip to ip so the folder name matches the library name on npm.
2014-09-24 15:42:07 +01:00
Masahiro Wakame ff2a2a332e Merge pull request #2849 from SergioMorchon/patch-1
Added textInput binding handler
2014-09-24 23:18:20 +09:00
Masahiro Wakame a74d40da7b Merge pull request #2847 from luisrudge/patch-1
add reload arguments to pjax reload
2014-09-24 23:16:39 +09:00
Masahiro Wakame baecd6e7f2 Merge pull request #2842 from tigerswithguitars/master
fabricjs: Add the pattern class to the definitions
2014-09-24 23:05:42 +09:00
Masahiro Wakame 44b2208291 Merge pull request #2841 from rogierschouten/any-db
add typings for any-db
2014-09-24 23:03:43 +09:00
Masahiro Wakame 69094c71bc Merge pull request #2839 from koresar/master
Add stampit definitions
2014-09-24 23:01:14 +09:00
Masahiro Wakame 972fce96cd Merge pull request #2824 from SomaticIT/add-stylus
Add stylus definitions
2014-09-24 22:41:40 +09:00
Masahiro Wakame 0be6948f22 Merge pull request #2823 from SomaticIT/add-sendrid
Add definitions for sendgrid sdk for node
2014-09-24 22:39:57 +09:00
Masahiro Wakame d7230cca66 Merge pull request #2822 from SomaticIT/add-passport-local
Add definitions for passport-local module
2014-09-24 22:39:37 +09:00
Masahiro Wakame 66e265df35 Merge pull request #2821 from SomaticIT/add-jsonwebtoken
Add jsonwebtoken node module definitions
2014-09-24 22:39:18 +09:00
Masahiro Wakame e659a07d7d Merge pull request #2820 from SomaticIT/add-i18n-node
Add i18n-node definitions
2014-09-24 22:38:47 +09:00
Masahiro Wakame 2f0dc2787d Merge pull request #2819 from SomaticIT/update-azure
Big update of Azure SDK for Node definitions
2014-09-24 22:38:03 +09:00
Masahiro Wakame f47a01065d Merge pull request #2789 from sourrust/update/highlightjs
Update Highlightjs
2014-09-24 22:35:53 +09:00
Masahiro Wakame ac086f544e Merge pull request #2762 from xperiments/howler
Added HowlerJS Definitions
2014-09-24 22:34:57 +09:00
Tobias Bengfort dde8ea1a3f Strip Whitespace 2014-09-24 12:22:32 +02:00
Tobias Bengfort fa35d205ef fix locale/localeData definitions
I am not entirely sure about this. But this is how I understand the
docs.

See http://momentjs.com/docs/#/i18n/
2014-09-24 12:20:27 +02:00
Tobias Bengfort b33c9ec8a7 add missing external test
these tests existed in moment-tests.ts but were missing in
moment-external-tests.ts
2014-09-24 12:19:31 +02:00
Josh Smith bcaf3664e4 Add support for DomAttributes and DomElements 2014-09-23 19:53:27 -07:00
Phips Peter 7be64cc455 Renaming back to event attributes 2014-09-23 17:01:50 -07:00
Phips Peter 5febe1f3e6 Starting SVG Elements 2014-09-23 16:11:42 -07:00
Phips Peter 236a885f67 Fixing the tests 2014-09-23 16:04:18 -07:00
Phips Peter c5c3575304 Added support for refs 2014-09-23 15:49:25 -07:00
Phips Peter 26962dec65 Got props types to work 2014-09-23 15:47:06 -07:00
Adi Dahiya 83188776d9 Add pickadate.js typings 2014-09-23 18:43:38 -04:00
Phips Peter ea3c4f1200 Adding PropTypes 2014-09-23 15:28:22 -07:00
Phips Peter 713bb80881 Adding children 2014-09-23 15:14:13 -07:00
Phips Peter 0827cbdbab Adding touch events 2014-09-23 15:08:56 -07:00