Commit Graph
8470 Commits
Author SHA1 Message Date
CodeAnimal a920b0cb8c Fix Redis defs to better describe API.
- Merge all callback interfaces into a generic interface.
- Add CommandT generic interface for future use, to not have to
explicitly define all command signatures. At the moment a duplicate
definition is thrown is used, as commands like ```get``` have additional
signatures defined.
- Add rest parameter array to all commands, as all command accept either
an array or paramarray (see:
https://github.com/mranney/node_redis#sending-commands)
- Update tests to test that paramarray is working as expected.
- TODO: Add CAPITALISED versions of commands.
- Add myself to header info.
2014-09-29 22:20:23 +01:00
CodeAnimal 67762b3951 Update createClient method to better adhere to docs
See: https://github.com/mranney/node_redis#rediscreateclient
2014-09-29 20:32:50 +01:00
SomaticIT 7c74debc97 Rename 'node-tar' to 'tar' to match npm package name 2014-09-29 17:55:13 +02:00
Erik Schierboom 5651488586 Fixed bug in typeahead definition 2014-09-29 15:04:46 +02:00
Andrew Bradley 035fea44c6 Updates sinon-chai definition and tests to support loading sinon-chai as a
chai plugin.

- usage is as follows:
    import sinonChai = require('sinon-chai');
    chai.use(sinonChai);
- Also updates the tests to compile with --noImplicitAny
2014-09-29 06:15:01 -04:00
Basarat Ali Syed e9ddb4f840 Merge pull request #2896 from Steve-Fenton/master
Chart.js definitions.
2014-09-29 19:53:00 +10:00
Steve Fenton ad1e185b4c Update chart-tests.ts 2014-09-29 10:10:51 +01:00
Steve Fenton 8da8bce0b1 Update chart-tests.ts 2014-09-29 10:07:57 +01:00
Steve Fenton a03690e46e Update chart-tests.ts 2014-09-29 10:03:53 +01:00
Steve Fenton c3da47bb1f Update chart.d.ts 2014-09-29 10:03:33 +01:00
Basarat Ali Syed d2afb0fd6c Merge pull request #2884 from stkb/node-url
node.d.ts Support object type for Url.query
2014-09-29 18:36:19 +10:00
Basarat Ali Syed 6a6b5cbe77 Merge pull request #2891 from mover5/master
Add initial commit for CanvasJS Typing and tests
2014-09-29 18:25:05 +10:00
Basarat Ali Syed bcbf87b842 Merge pull request #2890 from quenio/dev/fixes
Setting optional value in findOne()
2014-09-29 18:23:21 +10:00
Basarat Ali Syed 30f566d3c9 brcryp: perfer npmjs project link 2014-09-29 18:19:55 +10:00
Basarat Ali Syed 1201bd38ca Merge pull request #2889 from CodeAnimal/bcrypt
Add bcrypt definitions and tests.
2014-09-29 18:19:15 +10:00
Basarat Ali Syed 1b1fb403ab precise : prefer npm project link 2014-09-29 18:18:00 +10:00
Basarat Ali Syed 5762f6a148 Merge pull request #2888 from CodeAnimal/precise
Add precise definitions and tests.
2014-09-29 18:17:18 +10:00
Basarat Ali Syed 2c733b4533 Merge pull request #2887 from CodeAnimal/radius
Update Radius references to NodeBuffer to use Buffer
2014-09-29 18:15:22 +10:00
Steve Fenton 975a3b10b6 Create chart-tests.ts 2014-09-29 08:18:39 +01:00
Steve Fenton 802b27946a Create chart.d.ts 2014-09-29 08:17:34 +01:00
Mark Overholt 10e63d9361 Add initial commit for CanvasJS Typin and test 2014-09-27 19:53:55 -07:00
Quenio dos Santos b23ce3c58a Setting optional value 2014-09-27 21:26:18 -03:00
CodeAnimal 1e386438ff Add bcrypt definitions and tests. 2014-09-27 21:16:12 +01:00
CodeAnimal 161395bce8 Add precise definitions and tests. 2014-09-27 18:19:07 +01:00
CodeAnimal 4393f0f09f Update NodeBuffer to use Buffer
Update NodeBuffer references to use Buffer, as NodeBuffer is deprecated.
2014-09-27 17:25:03 +01:00
AdaskoTheBeAsT 53ddc41a4b Changed signature of functions: search, redraw_node. Comments fixed.
Changed signature of functions: search, redraw_node. Comments fixed.
2014-09-27 14:03:34 +02:00
AdaskoTheBeAsT ef080f1782 Changed signature of functions: search, redraw_node
Changed signature of functions: search, redraw_node
2014-09-27 13:59:35 +02:00
Steve f281573224 node.d.ts support object type for Url.query 2014-09-27 10:51:03 +02:00
progre 501792ee13 add IGulpPlugin and fix tests 2014-09-27 11:57:45 +09:00
progre 880c9e258b fix: gulp don't pass compile2 pattern 2014-09-27 11:21:39 +09:00
Igor Oleinikov eef872b96a Merge pull request #2745 from conficient/master
Valerie: added new interfaces; Knockout: fixed .register overloads
2014-09-26 15:03:13 -07:00
Arkadiusz Filipczak 3cc0a3ec6b fixed typo readPreference(s) 2014-09-26 06:43:54 +02:00
Arkadiusz Filipczak 9f319d3c5b DbCreateOptions' w property should accept numbers 2014-09-26 06:43:14 +02:00
Adi Dahiya f2b7b66b3e Update interact.js typings to 1.0.25 2014-09-25 12:25:02 -04:00
Jxck 4bc51ca5b1 add node-0.11.d.ts updates util module definition 2014-09-25 18:39:30 +09:00
Basarat Ali Syed fe50484fda Merge pull request #2866 from punya/patch-1
More precise type for $routeProvider.resolve
2014-09-25 13:45:53 +10:00
Punyashloka Biswal de37f2dbbf More precise type for $routeProvider.resolve 2014-09-24 18:35:13 -07:00
Georgie 9ca7d3f757 Changed SelectedCell back to VisualizationSelectionArray 2014-09-24 18:34:55 -07:00
Josh Smith 63caa5d4b9 Make Mock interface generic
And fill out the rest of the global interfaces
2014-09-24 17:47:14 -07:00
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 b83e8e238b Remove legacy node references
Remove legacy node references to stop polluting the global namespace
with old node definitions.
2014-09-25 01:21:22 +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