Commit Graph
3068 Commits
Author SHA1 Message Date
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
Basarat Ali Syed 6321375a3f Merge pull request #1329 from ufon/master
added some missing options to select2
2013-11-25 02:38:20 -08:00
Václav Oborník 82cce1fe2e added some missing options to select2 2013-11-25 10:12:25 +01:00
Basarat Ali Syed d7968354c2 Merge pull request #1327 from ctaggart/nodejsBugStream
node bug fix, make ReadableStream the same as stream.ReadableStream
2013-11-24 14:24:04 -08:00
Cameron Taggart ee21e8494b makes ReadableStream the same as stream.ReadableStream by applying the pipe change
from commit d0139df89d
2013-11-24 15:36:02 -06:00
Basarat Ali Syed d27767cab2 Merge pull request #1322 from loyd/patch-1
Correct assert module
2013-11-24 13:10:08 -08:00
Basarat Ali Syed 498a0538f5 Merge pull request #1324 from chaosmail/master
Fixed typo in D3js
2013-11-24 13:06:26 -08:00
Basarat Ali Syed 4c17ff664d Merge pull request #1326 from jeffmay/gruntjs-updates
Updated gruntjs declaration and tests.
2013-11-24 13:04:48 -08:00
Basarat Ali Syed 45da52c02b Merge pull request #1325 from nvivo/backbone
Fix declaration of Backbone.noConflict() and added Backbone.$
2013-11-24 13:00:44 -08:00
Natan Vivo 2e52be773f Fix space/tab issue. 2013-11-24 17:33:14 -02:00
Natan Vivo 00bf83cd8e Fix noConflict() definition to return typeof(Backbone), added declaration of Backbone.$; 2013-11-24 17:30:32 -02:00
Basarat Ali Syed 8b092b230b Updated gruntjs declaration and tests. 2013-11-24 14:20:25 -05:00
chaosmail 845ef32826 Updated d3.d.ts fixed typo in scale threshold function 2013-11-24 17:15:01 +01:00
Paul Loyd 70a2f13438 Fix assert module 2013-11-24 18:00:30 +04:00
Paul Loyd f2a4348c20 Correct domain module 2013-11-24 17:38:56 +04:00
Paul Loyd c3541fe0b9 Correct assert module 2013-11-24 17:38:56 +04:00
Basarat Ali Syed 8b853198c7 Merge pull request #1321 from AgentME/fixes
Definition Fixes for node and express
2013-11-24 02:06:00 -08:00
Basarat Ali Syed 3e5fa41053 Merge pull request #1323 from benjaminjackman/patch-3
Update slickgrid to remove implicit anys
2013-11-24 02:02:58 -08:00
Chris Cowan 89548662d0 express.d.ts: tabs -> spaces 2013-11-23 18:07:17 -06:00
Basarat Ali Syed c2caad7bf1 Merge pull request #1320 from ufon/master
Added void return types for some methods of gapi and spin.js. It alows compile with --noImplicitAny
2013-11-23 15:48:53 -08:00
benjaminjackman db1a670dde Update slickgrid to remove implicit anys 2013-11-23 17:47:48 -06:00
Chris Cowan 09ad8f8283 Fixes for express definitions.
app.listen is fixed so that it can be called with a port, hostname, and
optional callback without a backlog parameter.

app.listen is fixed so callback parameter is always optional.

CSRF protection middleware definition is fixed so options parameter is
optional.

req.csrfToken method is added since the CSRF protection middleware has
been updated.
2013-11-23 16:40:32 -06:00
Chris Cowan 5b9620556e Fixes for node definitions.
setTimeout, setInterval, setImmediate are fixed to accept more
arguments.

setTimeout, setInterval, clearTimeout, clearInterval are changed to
return and accept objects of the new Timer interface, which exposes the
ref() and unref() methods.

fs.readFileSync is changed so that it returns a string if it is passed
an options parameter with an "encoding" property, and returns a
NodeBuffer otherwise.

fs.watchFile and fs.unwatchFile listener parameters are fixed. listener
is a callback with two parameters, not an object with two properties.

fs.watch is fixed so a listener parameter can be given without an
options parameter.

crypto.randomBytes is fixed so that it can be called synchronously,
returning a NodeBuffer.

crypto.pseudoRandomBytes is added.
2013-11-23 16:31:40 -06:00
Václav Oborník 1de38a7ac8 spin.js - added missed types for --noImplicitAny typescript compilation 2013-11-23 21:52:50 +01:00
Václav Oborník 21f83910f5 Added void return types for some methods. It alows compile with --noImplicitAny flag. 2013-11-23 18:32:36 +01:00
Basarat Ali Syed dddf80ff37 docs: minor casing fix 2013-11-23 20:49:16 +11:00
Basarat Ali Syed 47bc87d018 Merge pull request #1316 from conficient/master
Added definitions for Valerie knockout-based validation library
2013-11-22 03:43:36 -08:00
HowardRichards 62c05d1807 Fixed failing code, reran tests - now passing. 2013-11-22 09:38:52 +00:00
Basarat Ali Syed 064fbc1045 Merge pull request #1315 from vvakame/add-support-tsc-switching
Add support tsc switching to runner.ts
2013-11-21 22:11:32 -08:00
vvakame ebb41cfe47 Add tsc version 0.9.5 beta
from typescript repo origin/release-0.9.5/HEAD (f22a9d2ba03c102b096e9f8c4157a9a066c004d9)
2013-11-22 12:32:19 +09:00
vvakame 9b7dba0e10 Add support to switch tsc version at testing 2013-11-22 12:32:18 +09:00
Basarat Ali Syed 4fde2ac723 jquery.d.ts closes #1311 2013-11-22 14:12:21 +11:00
Basarat Ali Syed fb57b3baa7 Merge pull request #1313 from benjaminjackman/patch-2
Update chrome.d.ts, got rid of all implicit anys
2013-11-21 18:48:00 -08:00
Basarat Ali Syed 2533228cb9 Merge pull request #1310 from nvivo/underscore_to_interface
Switches underscore definition to interfaces
2013-11-21 18:46:01 -08:00
benjaminjackman f9db24b748 Update chrome.d.ts, got rid of all implicit anys
Declared types in locations where the compiler would warn of implicit anys with the --noImplicitAny flag
2013-11-21 16:54:32 -06:00
Howard Richards ccd94b3ef9 Added Valerie initial version
Redone as I messed up my local repository
2013-11-21 22:25:38 +00:00
Natan Vivo 1c5d6da37c Switch definition to interfaces, as TypeScript 0.9.5 no longer supports declaring classes and functions with the same name. 2013-11-21 10:35:49 -02:00
Basarat Ali Syed 95de4d32dd Merge pull request #1309 from vvakame/fix-maxBuffer-bug
Fixed a bug, there is a test should fail if the original
2013-11-21 03:54:10 -08:00
Basarat Ali Syed e708fa3cd6 Merge pull request #1308 from pelotom/d3-fixes
D3 fixes
2013-11-21 03:17:12 -08:00
vvakame 96c443c647 Suppress test failed 2013-11-21 19:59:41 +09:00
Masahiro Wakame f5e0efcc87 Fix latent bug it found by prev commit, avoid unexpected callback happen.
maxBuffer’s default is 200*1024 byte in Node.js require('child_process').exec
but…
$ node _infrastructure/tests/typescript/tsc.js --noImplicitAny threejs/three-tests.ts 2>&1 > /dev/null | wc
    1963   21628  291809
over 200KB, when exec method called callback function, but it is not completed yet. exitCode === undefined.
2013-11-21 19:59:41 +09:00
Masahiro Wakame c94bdd6794 Fix success or failed determine code bug
currently implementation was erroneous decision, e.g. _infrastructure/tests/typescript/tsc.js not exists.
2013-11-21 19:59:40 +09:00
Tom Crockett d7ad31ba43 Add missing formal parameter name 2013-11-21 02:54:07 -08:00
Basarat Ali Syed 88d19cf66e Merge pull request #1285 from gregolai/master
first, small commit :) mrdoob's stats
2013-11-21 02:45:55 -08:00
Basarat Ali Syed 1a9400f2b6 Merge pull request #1305 from johnnyreilly/master
Globalize:add missing overloads/now TS0.9.5 compt
2013-11-21 02:40:49 -08:00
Basarat Ali Syed 390871164c Merge pull request #1306 from evilangelist/master
Fixed property name on Matrix2D from 'atx' to 'tx'
2013-11-21 02:39:32 -08:00
John Reilly db49859709 Globalize: Corrected return types / amended tests 2013-11-21 09:59:58 +00:00
Tom Crockett b9434af57b Fix the type of Zoom application 2013-11-21 01:12:15 -08:00
Tom Crockett 2c47116ce6 Add method for obtaining UTC TimeScale 2013-11-21 01:03:55 -08:00
Tom Crockett e5ef1afbee Fix comment typo 2013-11-21 00:44:23 -08:00