Commit Graph

36 Commits

Author SHA1 Message Date
Grégoire Castre
b8ef7d0efd Updating durandal.d.ts
Using union type for route,
Add missing parent property (only present if the current router is a child router)
Fix queryParams type
Fix guardRoute return type
cleanup mixed tab/spaces
2015-07-22 12:00:35 +02:00
Mohamed Hegazy
2aaa293cb1 Remove quotes from response files 2014-09-02 14:53:39 -07:00
Rob Eisenberg
a8c2421436 Fixed up the DefinitelyTyped header. 2014-06-09 12:28:47 -04:00
Rob Eisenberg
0248f68308 Updated the durandal.d.ts file.
The file has been updated to match the official 2.1.0 release version.
2014-06-08 15:50:40 -04:00
Masahiro Wakame
de539e0cb2 Merge pull request #1548 from gcastre/master
Durandal: System, ViewEngine, ViewLocator declaration in interface
2014-01-30 03:18:18 -08:00
Bartvds
0efeed5c45 added/fixed headers a-d
https://github.com/borisyankov/DefinitelyTyped/issues/1570
2014-01-24 00:22:06 +01:00
Grégoire Castre
1e239818d1 Durandal: System, ViewEngine, ViewLocator declaration in interface
Fix in DurandalEventSubscription: the routeHandler wasn't optional
2014-01-15 15:14:24 +01:00
EisenbergEffect
6603da54e7 Updating the Durandal definition to 2.0.1.
This is the official TypeScript definition file for Durandal 2.0.1.
2013-10-22 23:26:50 -04:00
vvakame
34899afaae Merge commit '2772dfeec9cdb1744f6c010babef9e40b6770dd7' into plan-of-destroy-implicitAny 2013-10-18 12:41:53 +09:00
vincenthome
de3c44456b Update durandal.d.ts
missing the result* parameter
2013-10-14 14:50:15 -04:00
vvakame
2708bc05cd Fixed tsc failed on Node.js v0.8.25 2013-10-03 11:23:38 +09:00
vvakame
3fe1f6bc4e Fixed to CI test passing 2013-10-03 10:18:58 +09:00
Diullei
c6334050a1 durandal - fix compiler error 2013-09-08 15:44:59 -03:00
yutavsky
986b2acc24 durandal1.x definition
fix compile error tsc@0.9.1-1

mv older version
2013-09-08 23:13:30 +09:00
EisenbergEffect
e2c394fc56 Updated Durandal to the official 2.0.0 definition.
This TypeScript definition file was created by the Durandal project. It
represents the Durandal 2.0.0 API and is compatible with TypeScript
0.9.1.
2013-08-16 00:46:36 -04:00
Boris Yankov
dd35f69637 Big replacement: bool with boolean 2013-08-07 16:59:39 +03:00
Marc-Andre Roy
51042d8ae1 Change url typing for any in IRouteParameters
Change the typing of the url parameter in IRouteInfoParameters from string to any. Using a string disallow the use of Regular Expression as URL value. Using any instead of string give more flexibility. Using RegExp as URL gives you the possibility to specify "catch all" routes.
2013-07-17 10:58:16 -04:00
NN
21dd00558d TS requires semicolon
Fix according to TS 0.9 specification.
2013-07-05 22:08:49 +03:00
vcastro
54d7df39e7 Updated the durandal router plugin:
- Added definition for the guardRoute 'abstract' router function.
2013-06-24 15:16:16 +01:00
Boris Yankov
144b89396c Merge pull request #651 from teves-castro/master
Updates to support TS 0.9
2013-06-23 19:43:24 -07:00
ZOS
6024a59857 Support new Knockout definition (generics) and replace bool to boolean 2013-06-22 11:53:14 +04:00
vcastro
613809f5d8 Updated breeze.d.ts, durandal.d.ts and knockout.mapping.d.ts to better support TS 0.9. 2013-06-20 23:03:16 +01:00
Christian Bélisle
3ac5cc59b7 Fix compilation with TypeScript 0.9 2013-06-20 12:52:19 -04:00
Roman Nikitin
bcd11d7234 transition is an optional parameter. 2013-04-08 17:51:39 +07:00
Kenneth Brubaker
164d45ee4d Bugfixed router.map and router.mapRoute
Bugfixed mapRoute to have two function signatures.
Bugfixed map to take single or array of IRouteInfoParameters.

Renamed interface IRouteInfo from routeInfo
Added interface IRouteInfoParameters
2013-04-05 18:04:39 -04:00
Kenneth Brubaker
88fa039b1a Revert "Bugfixed router.map and router.mapRoute"
This reverts commit f6d09ab31b.
2013-04-05 17:57:24 -04:00
Kenneth Brubaker
f6d09ab31b Bugfixed router.map and router.mapRoute
Bugfixed mapRoute to have two function signatures.
Bugfixed map to take single or array of IRouteInfoParameters.

Renamed interface IRouteInfo from routeInfo
Added interface IRouteInfoParameters
2013-04-05 17:51:39 -04:00
Kenneth Brubaker
04a41cb01a Revert "Added comments from durandaljs documentation to module and routeInfo"
This reverts commit 3ab33b847a.
2013-04-05 17:46:22 -04:00
Kenneth Brubaker
3ab33b847a Added comments from durandaljs documentation to module and routeInfo
Renamed interface IRouteInfo from routeInfo
Added interface IRouteInfoParameters

Bugfixed mapRoute to have two function signatures.
Bugfixed map to take single or array of IRouteInfoParameters.
2013-04-05 17:43:15 -04:00
Diullei Gomes
3309e1aa4b durandal: Fixed introduced bug at pull/451 2013-04-05 08:59:10 -03:00
Roman Nikitin
886e87bc14 added definitions for durandal/widget module. 2013-04-05 15:13:28 +07:00
Kenneth Brubaker
df95007ef0 Update durandal.d.ts 2013-04-04 20:06:58 -03:00
Diullei Gomes
6fb8560a58 resolved conflicts to pullrequest #442 2013-04-03 08:53:04 -03:00
arash16
1d2dbf3d7d Update durandal.d.ts
mapNav's second and third parameters must be optional..
2013-03-29 12:08:33 +04:30
Marc-Andre Roy
469b9a8bc5 Update definition file for durandal.d.ts
- Make applicationHost parameter optional in setRoot
- Add missing activeRoute definition
- Add missing useConvention definition
- Add missing handleInvalidRoute definition
- Change mapRoute definition so you can pass an URL with all the other
parameters as you will usealy do or you pass a RouteInfo object without
having to give it any other parameter. moduleId, name and visible are
now optional.
2013-03-22 11:18:26 -04:00
Evan Larsen
9d7ef14a43 adding durandal 2013-02-24 17:09:46 -05:00