Commit Graph
2623 Commits
Author SHA1 Message Date
basarat 1bb113b03e Merge pull request #1198 from georgiosd/patch-3
Fixes in latest NG pkg
2013-10-29 17:45:02 -07:00
basarat ef8b59680b Merge pull request #1191 from Igorbek/master
Fixed inheritance and function definitions in Kockout
2013-10-29 16:35:29 -07:00
basarat 296eca2989 Merge pull request #1193 from danludwig/danludwig/work
Add initial typescript definition file for google.visualization.
2013-10-29 15:35:58 -07:00
basarat 3b52e00a7d Merge pull request #1195 from jeffmay/grunt-ts-defs
[master] Updated grunt declarations to match 0.4.x documentation.
2013-10-29 15:33:55 -07:00
Jeff May 05b6a0a1ca Fixed implicitAny bugs. 2013-10-29 09:51:11 -04:00
Georgios Diamantopoulos 15f9750043 Fixes in latest NG pkg
`IAttributes` definition made it impossible to use scoped attributes - see my comments
`scope.$eval` was missing locals argument
`IDirective.controller` made it impossible to use minify-safe array notation, had to switch back to `any`
`IDirective.require` can be both `string` or `string[]` so changed back to `any`.

This will all be so much better once we get union support in TS...
2013-10-29 12:09:34 +02:00
basarat aef30542c0 Merge pull request #1194 from danrspencer/patch-1
Prototype for createSpyObj to allow for typed spies
2013-10-28 18:01:03 -07:00
basarat 0af5b426d6 Merge pull request #1196 from derekcicerone/patch-25
Fix getItemById()
2013-10-28 17:48:18 -07:00
Derek Cicerone 3b64c0a072 Fix getItemById()
It was missing a necessary parameter.
2013-10-28 17:02:58 -04:00
Jeff May 56f5ab0ad8 Added Template and Util modules. 2013-10-28 15:07:55 -04:00
Jeff May 112ff52ba1 Switched to generic MultiTask for structured configuration. 2013-10-28 15:07:49 -04:00
Jeff May 85ec704f8d Updated for contribution guidelines.
Conflicts:
	README.md
2013-10-28 15:07:40 -04:00
Jeff May ba9abec893 Updated grunt declarations to match 0.4.x documentation.
Had to weaken some return types for TypeScript (left comments).

Conflicts:
	gruntjs/gruntjs.d.ts
2013-10-28 15:06:46 -04:00
danrspencer 9b980143a8 Prototype for createSpyObj to allow for typed spies
Added an overload to the prototype for createSpyObj to allow it to return a strongly typed spy object via use of generics
2013-10-28 15:58:45 +00:00
Dan Ludwig c69454cb81 Add initial typescript definition file for google.visualization.
This is an initial d.ts for the google.visualization API, and is by no
means complete. It contains classes, interfaces, and functions for:

1. Loading visualization packages, and handling package load callbacks.
2. DataTable construction, manipulation, and creation from arrays.
3. Adding event listeners (minimal API, only 1 listener function def).
4. GeoChart construction & drawing.

A small tests file has also been added.
2013-10-28 11:10:24 -04:00
basarat 3c1c1fafcf Merge pull request #1192 from derekcicerone/master
Add missing on() handler
2013-10-27 15:51:38 -07:00
Derek Cicerone 392b8a5a08 Add missing on() handler
This was was exposed by a recent update to jquery that tightened up the
typing for on().

Documentation for on(): http://api.jquery.com/on/
2013-10-27 17:17:13 -04:00
Igor Oleinikov d0c36de348 Changed definitions in knockout.deferred.updates related to previous changes in knockout
deferUpdates define in KnockoutSubscription
2013-10-27 23:22:03 +04:00
Igor Oleinikov 5a2c16ed29 Changed definitions in knockout.validation related to previous changes in kockout
KnockoutObservableBase replaced by KnockoutObservable<any>
2013-10-27 22:06:54 +04:00
Igor Oleinikov 3039e58e38 Fixed inheritance and function definitions in Kockout
- fixed inheritance
- fixed fn definitions
- *Functions interfaces made generic to allow generic extensions
- added more options in KnockoutComputedDefintion
2013-10-27 21:44:37 +04:00
basarat 7e9bb33a5b Merge pull request #1180 from Igorbek/master
Added type definition for IxJS project
2013-10-26 17:39:43 -07:00
basarat a37b4f4a0b Merge pull request #1187 from gandjustas/master
Added chrome control, ClientPeoplePicker and Reputation definitions.
2013-10-26 17:32:40 -07:00
basarat 78a63315c2 Merge pull request #1188 from kotas/add-greasemonkey
Add definitions for Greasemonkey API
2013-10-26 17:31:24 -07:00
basarat 5aec6d7cc1 Merge pull request #1190 from studiollama/patch-3
Added controllerAs to IRoute
2013-10-26 17:22:13 -07:00
studiollama 107312a84b Added controllerAs to IRoute 2013-10-26 13:32:45 -07:00
gandjustas 80c04d0409 Added chrome control, ClientPeoplePicker and Reputation definitions. 2013-10-26 18:53:49 +04:00
kotas 030c0485dc Add definitions for Greasemonkey user script
This commit adds greasemonkey.d.ts which defines global functions
and global variables provided to user scripts running on Greasemonkey.
2013-10-26 23:50:02 +09:00
Igor Oleinikov 68427a3c83 Added tests for Disposable, Enumerator, Dictionary, Lookup
- added tests for all functions defined in l2o.d.ts in Disposable,
Enumerator, Dictionary, Lookup
- removed workaround definitions for spec#3.5.2 (it produced more
problems)
- fixed Lookup.toEnumerable
2013-10-26 17:10:50 +04:00
Igor Oleinikov 2b99487a28 Added tests for ix.d.ts
- added tests of all functions defined in ix.d.ts Enumerable
- minor fix in ix.d.ts
2013-10-26 16:24:49 +04:00
Igor Oleinikov af0f9c4bf5 Added tests for ix.d.ts
Tested all functions defined in ix.d.ts in EnumerableStatic
2013-10-26 14:58:43 +04:00
Igor Oleinikov 019e4dd667 Removed Comparer from ix.d.ts (alreadu defined in l2o.d.ts) 2013-10-26 14:56:18 +04:00
Igor Oleinikov 6dd6462da3 Added tests for l2o.d.ts
Tests for all functions defined in Enumerable and EnumerableStatic
2013-10-26 14:39:55 +04:00
Igor Oleinikov 0963cde2ee Fixed several bugs in l2o.d.ts
- fixed Enumerator variable type
- added Comparer interface
- added return alias for returnValue
- minor fixes
2013-10-26 14:39:04 +04:00
basarat 0a5bfc147a Merge pull request #1183 from derekcicerone/patch-27
Fix future bug in slickgrid.d.ts
2013-10-25 15:35:12 -07:00
Derek Cicerone 1e83c5da21 Fix future bug in slickgrid.d.ts
Really subtle bug: the function should be using the class generic parameter - not a new one just for the method.
2013-10-25 17:39:28 -04:00
Igor Oleinikov 0efbf15672 Fixed formatting 2013-10-25 19:21:41 +04:00
Igor Oleinikov ffee8db898 Added missed return type for Ix.Disposable.dispose 2013-10-25 17:30:07 +04:00
Igor Oleinikov 338e04943c Added file descriptions 2013-10-25 17:23:09 +04:00
Igor Oleinikov dd5b76560b Added type definitions for IxJs/ix.js. 2013-10-25 17:13:23 +04:00
Igor Oleinikov 32adbb82c9 Created Disposable (for ix.js); Removed generative type recursion
Via TS spec #3.5.2 generative recursive are disallowed (restriction will
be removed in the future), so added workaround.
Disposable interface extracted from Enumerator
2013-10-25 16:50:17 +04:00
Igor Oleinikov 4f1786355c Added type definitions for IxJS (only for l2o.js)
Added type definitions for IxJS project v1.0.6
(https://github.com/Reactive-Extensions/IxJS) only for core Linq to
Objects (l2o.js).
2013-10-25 13:55:57 +04:00
basarat 45e8e755f3 Merge pull request #1179 from kkolstad-trov/master
Add $addControl and $removeControl to IFormController
2013-10-25 02:04:41 -07:00
Kenneth Kolstad 1bf0e657ee Add $addControl and $removeControl to IFormController 2013-10-25 02:39:36 -04:00
basarat 759edbde19 Merge pull request #1177 from nicholashead/patch-1
Update jquery.timeago.d.ts to remove ç character from name, causes compi...
2013-10-24 17:13:44 -07:00
basarat d487102279 Merge pull request #1174 from derekcicerone/patch-24
Fix future bugs in backbone.d.ts
2013-10-24 17:11:59 -07:00
basarat bf0ed623b1 Merge pull request #1178 from derekcicerone/patch-26
Fix future bug in require.d.ts
2013-10-24 17:09:47 -07:00
basarat 00f1d7c178 Merge pull request #1168 from daptiv/update-mocha
Update Mocha with additional methods and members
2013-10-24 17:07:02 -07:00
basarat fc35891ebd Merge pull request #1171 from daptiv/angular-1.2-definitions
Angular 1.2 definitions
2013-10-24 17:05:16 -07:00
Derek Cicerone fe4b190435 Fix future bug in require.d.ts
Callbacks need to use 'Function' if the arguments to it aren't known ahead of time - see discussion here: https://typescript.codeplex.com/discussions/462819
2013-10-24 19:10:25 -04:00
nicholashead e6edd7b15f Updates jquery.timeago.d.ts to be UTF-8 2013-10-24 15:42:24 -07:00