Commit Graph

48 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
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
Ryan Cavanaugh
a4f5ae3098 Merge commit 'upstream/master~250' into merge_7_25 2016-07-26 18:03:56 -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
Raghav Katyal
395c4e1639 Turning on consistent casing flag and fixing failures 2016-06-30 15:14:49 -07:00
Mohamed Hegazy
9d429ad18d Merge pull request #8182 from yudielcurbelo/patch-1
path function to allow (string | number)[]
2016-06-26 16:29:10 -07:00
Ryan Cavanaugh
bfd400a8f8 Add noEmit to all config files 2016-05-10 12:24:49 -07:00
Ryan Cavanaugh
e808e8e062 Remove unneeded references 2016-05-10 12:22:25 -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
290d5dfb4d More fixes 2016-05-04 18:42:46 -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
Troy McKinnon
ffaaf5d5d5 allow importing raphael as a module 2016-03-31 19:45:21 -05:00
vvakame
56295f5058 replace https://github.com/borisyankov/DefinitelyTyped to https://github.com/DefinitelyTyped/DefinitelyTyped 2016-03-17 00:55:26 +09:00
YUDIEL CURBELO
1cbedf37b6 Missing rotate
Adds rotation by given angle around given point to the list of transformations of the element.
2016-02-20 01:24:40 -05:00
YUDIEL CURBELO
b7973616d4 path function to allow (string | number)[]
It is totally legal to have something like this: paper.path(['M' + (startX), (startY), 'L' + (startX), (startY)]);
2016-02-20 00:57:52 -05:00
vvakame
4de74cb527 normalize line ending (CRLF -> LF) 2016-02-16 01:20:30 +09:00
filipszu
32a17c5a78 Added properties to RaphaelFont interface 2015-12-30 21:23:14 -05:00
kashlakov
b26a3d7ce5 Update raphael.d.ts
add required parameter 'el: RaphaelElement' to RaphaelSet.insertBefore() and RaphaelSet.insertAfter()
2015-10-26 11:10:34 +09:00
kashlakov
a8f4ecb936 Update raphael.d.ts
add required parameter 'el: RaphaelElement' to insertAfter() and insertBefore() methods
2015-10-26 11:07:45 +09:00
Troels Leth Jensen
b39c82145d 'this' in context of a RaphaelSet is a RaphaelSet. 2015-04-30 13:04:49 +02:00
Yegor Alexeyev
a3d0c79e1d Changed order of method declarations for correct overloading 2015-02-15 20:18:37 +03:00
Mohamed Hegazy
2aaa293cb1 Remove quotes from response files 2014-09-02 14:53:39 -07:00
yuuki
a002a64b22 Fixed return type 2014-08-15 13:30:33 +09:00
Bart van der Schoor
1d345f6c14 cleaned-up headers 2014-06-18 23:31:11 +02:00
enternet
37e590111b RaphaelPaper.forEach() returns RaphaelPaper
RaphaelPaper.forEach() returns RaphaelPaper at runtime.
2014-04-09 17:31:48 +03:00
enternet
341d0c519e RaphaelPaper.forEach()
RaphaelPaper.forEach() declaration has been fixed.
2014-04-08 14:04:43 +03:00
vvakame
16dd1ab76f Removed non-required .tscparams 2014-02-05 12:48:22 +09:00
david karapetyan
a5692df01c fix warnings when running with --noImplicitAny
There were a lot of warnings being thrown when I was compiling with --noImplicitAny option so I fixed up whatever signatures I could to get rid of the warnings.
2014-01-02 18:45:49 -08:00
Masahiro Wakame
bcaefb2b37 Merge pull request #1378 from jzarnikov/master
raphael - made types of dom-elements more specific
2013-12-05 03:56:55 -08:00
Jan Zarnikov
47b04c5985 raphael - made types of dom-elements more specific 2013-12-05 12:14:18 +01:00
Jeffery Grajkowski
798dbfbf8f Converting ungeneric "Array" to "any[]"
TypeScript 0.9.5 beta does not allow generic type references without the type argument.  This code will still compile for 0.9.1 users.  Flight and Ember have further compile problems in 0.9.5 that I don't feel qualified to address as I'm not versed in those libraries.
2013-11-26 10:29:46 -08: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
Boris Yankov
dd35f69637 Big replacement: bool with boolean 2013-08-07 16:59:39 +03:00
basarat
5031efe999 http://raphaeljs.com/reference.html#Raphael.getColor
fixed invalid typescript http://raphaeljs.com/reference.html#Raphael.getColor
2013-07-20 23:11:52 +10:00
Andrew Davey
1a2fced0c6 Re-add getColor.reset()
This is compatible with TypeScript 0.9.
2013-07-01 10:12:54 +01:00
Gleb Zevkov
7da1281dd0 Removed uncompilable function definition 2013-06-20 13:49:22 +02:00
Boris Yankov
209d95071a Update reference paths 2013-01-17 20:03:30 +02:00
Boris Yankov
c98eebb137 Rename all definition files, remove versions 2013-01-17 17:17:27 +02:00
Boris Yankov
9e621707ac Fix typo in Raphael definitions. RraphaelSet to RaphaelSet 2012-12-31 08:37:22 +02:00
Karlkim Suwanmongkol
040d43ad88 Fix [key: any] issue in raphael-2.1.d.ts
This is similar to old jquery definition issue mentioned in
http://stackoverflow.com/questions/13630578/why-does-the-jquery-d-ts-typescript-definition-file-throw-a-compile-error

We should update Raphael definition as well.
2012-12-22 01:06:45 -06:00
Boris Yankov
7c82efb17a Update reference paths 2012-11-19 01:28:08 +02:00
Boris Yankov
c91c45f9ae Move definitions and test in separate folders
This enables each definition to have a readme if necessary.
Also a .json metadata file to help with package managers.
And last, to have different versions of the definitions.
2012-11-18 22:28:44 +02:00