Commit Graph

64 Commits

Author SHA1 Message Date
Andy
ae4fe7b6de Use "lib" in tsconfigs instead of "target". (#13968)
* Use "lib" in tsconfigs instead of "target".

Only add "dom" to libraries that need it. This is determined by a script, so many libraries that have "dom" maybe should not.

* Update new-package and readme

* Add back "target" where necessary
2017-01-18 07:51:51 -08:00
Andy
2f71174636 Restructure to support old versions (#13811)
* Restructure to support old versions

* Fix tests
2017-01-06 12:36:57 -08:00
Andy
a4bd9fa3c1 Add "noImplicitThis" to all tsconfig.json (#13446)
* Add "noImplicitThis" to all tsconfig.json

* Use `"noImplicitThis": false` on packages with broken tests.
2016-12-19 14:11:46 -08:00
Andy
cd4debea25 Remove BOM character from the start of files (#12838) 2016-11-28 10:40:45 -08:00
Andy Hanson
91d1d6d60f Merge remote-tracking branch 'origin/master' into merge_21sep 2016-09-21 09:45:05 -07:00
Massimo Hamilton
e9fc032fe8 Durandal - Fixes to DialogContext. See below:
- Add blockoutOpacity to DialogContext
- Mark name of getContext as optional

All as per docs here:
http://durandaljs.com/documentation/Showing-Message-Boxes-And-Modals.html#dialog-contexts
2016-08-23 08:52:49 +01:00
Ryan Cavanaugh
b488f3cb5f Merge remote-tracking branch 'upstream/master' into merge_7_25 2016-07-27 10:57:46 -07:00
Ryan Cavanaugh
a5f4d50ccc Fix tsconfig files for new option name / behavior.
Also fixes some inconsistent whitespace.
2016-07-12 13:54:56 -07:00
Mohamed Hegazy
66c2cf2409 Use Q as a module consistently 2016-07-08 11:38:55 -07:00
gentoo90
41563f5421 Add host field to Dialog interface
It should be set by DialogContext.addHost() according to
durandals documentation.
2016-07-05 10:12:47 +03:00
Raghav Katyal
395c4e1639 Turning on consistent casing flag and fixing failures 2016-06-30 15:14:49 -07:00
Ryan Cavanaugh
bfd400a8f8 Add noEmit to all config files 2016-05-10 12:24:49 -07:00
Ryan Cavanaugh
50387d4046 Change relative reference paths to types references. Errors incoming... 2016-05-09 18:06:27 -07:00
Ryan Cavanaugh
49b1ac6a38 Rename all entry points to index.d.ts and explicitify all file lists 2016-05-09 17:29:10 -07:00
Ryan Cavanaugh
ab2b4191c5 Add typesRoot to all config files 2016-05-09 13:52:25 -07:00
Ryan Cavanaugh
5859f63fd3 Keep fixing... 2016-05-05 12:38:52 -07:00
Ryan Cavanaugh
ded70421be Turn off strict null checks 2016-05-04 15:08:38 -07:00
Ryan Cavanaugh
69d1929d8a Add tsconfig.json files 2016-05-04 14:14:39 -07:00
Ryan Cavanaugh
dc851736af Delete unused tscparams 2016-04-27 20:42:33 -07:00
Ryan Cavanaugh
e7c111c4b7 Merge remote-tracking branch 'upstream/master' into types2.0
Add tsconfig files everywhere

# Conflicts:
#	azure-mobile-services-client/AzureMobileServicesClient.d.ts
#	bookshelf/bookshelf.d.ts
#	hapi/hapi.d.ts
#	helmet/helmet.d.ts
#	mongodb/mongodb.d.ts
#	nock/nock.d.ts
#	react-bootstrap/react-bootstrap.d.ts
#	react-helmet/react-helmet.d.ts
#	restify/restify.d.ts
#	sequelize/sequelize.d.ts
2016-04-27 20:40:21 -07:00
vvakame
7de6c3dd94 Merge branch 'master' into rename-repo-url 2016-03-17 21:06:54 +09:00
vvakame
14fe4313f4 replace internal module to namespace 2016-03-17 02:18:10 +09:00
vvakame
56295f5058 replace https://github.com/borisyankov/DefinitelyTyped to https://github.com/DefinitelyTyped/DefinitelyTyped 2016-03-17 00:55:26 +09:00
vvakame
4de74cb527 normalize line ending (CRLF -> LF) 2016-02-16 01:20:30 +09:00
Masahiro Wakame
1ccca6e775 Merge pull request #6466 from vvakame/rm-unused-tscparams
remove unused .tscparams
2015-11-03 00:08:24 +09:00
Richard Hepburn
c9b1821450 added missing declaration for optional dynamicHash property on DurandalRelativeRouteSettings to support TypeScript 1.6 tightened compilation rules 2015-11-01 23:19:37 -05:00
vvakame
7765c3e0b3 remove unused .tscparams 2015-10-27 20:27:02 +09:00
Grégoire Castre
ee35457a50 Improve durandal.d.ts if you use Q instead of jQuery
Durandal supports injection/configuration to use a different library for Deferred/Promises (ref http://durandaljs.com/documentation/Q.html)
When using a different Deferred/Promise implementation, you might want to use a different Promise interface in the durandal.d.ts file.

Added some type annotations to ensure that durandal.d.ts won’t make compilation fail when the compiling with the noImplicitAny option set to true.

Note that I'm not the author of these changes but was asked to review it, and then publish it for the benefits of the community.
2015-10-16 15:55:22 +02:00
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