3314 Commits
Author SHA1 Message Date
Masahiro Wakame d4f73905d4 Merge pull request #1461 from csrakowski/royalSlider
updated royalSlider typings
2013-12-23 17:41:09 -08:00
Basarat Ali Syed 9e1fe49fa0 Merge pull request #1468 from Slava/master
Fix missing semicolons
2013-12-23 03:07:53 -08:00
Slava Kim fddbc6a081 Fix missing semicolons 2013-12-22 15:47:56 -08:00
Basarat Ali Syed 2dcaf44068 Merge pull request #1463 from tvonclef/master
Changed the iso8601Week function of the Datepicker interface
2013-12-21 02:21:40 -08:00
Basarat Ali Syed 6ecfc53974 Merge pull request #1466 from styfle/patch-1
SlickGrid RefreshHints should be optional
2013-12-20 19:15:38 -08:00
Steven ef2926042e RefreshHints are optional
The filters in RefreshHints should be optional so there is no error when updating a single one such as:

this.dataView.setRefreshHints({
    isFilterUnchanged: true
});
2013-12-20 18:47:38 -08:00
Basarat Ali Syed 1cab029259 Merge pull request #1464 from igochkov/master
Twitter Typeahead
2013-12-20 00:42:58 -08:00
Tom von Clef 388c226ab5 Changed the iso8601Week function of the Datepicker interface to return type 'number', not type 'void'. See: http://api.jqueryui.com/datepicker/ 2013-12-18 15:07:59 -05:00
Christiaan Rakowski fa7577b290 updated tests to match constructor change 2013-12-18 15:53:18 +01:00
Christiaan Rakowski 10e312fce6 Constructor returns a jQuery, not a royalSlider 2013-12-18 15:51:18 +01:00
Ivaylo Gochkov 27127b9bb8 Update README.md 2013-12-18 12:44:24 +01:00
Ivaylo Gochkov f324e42988 Reference path correction 2013-12-18 12:39:13 +01:00
Basarat Ali Syed b11ea5a8ea Update socket.io.d.ts
client code does not belong in this file as it references `node.d.ts`
2013-12-18 22:35:54 +11:00
Ivaylo Gochkov 984598314f Hogan variable
Declared Hogan variable to mock Hogan template engine definitions.
2013-12-18 12:08:02 +01:00
Ivaylo Gochkov 2f03c505f9 JSDoc comments completed 2013-12-18 11:37:24 +01:00
Basarat Ali Syed 38ee125492 Update socket.io.d.ts 2013-12-18 18:24:15 +11:00
Masahiro Wakame 3fcb43928f Merge pull request #1424 from brian428/_sencha_touch
Update to TS 0.9.5; add logic to include static properties.
2013-12-17 20:12:56 -08:00
Brian Kotek 364a43d444 Finally getting the file name right 2013-12-17 22:41:37 -05:00
Masahiro Wakame baa8c18942 Merge pull request #1460 from jvilk/node-fixes
[Node] Changing `fs` module callbacks to use `ErrnoException`
2013-12-17 18:56:47 -08:00
Masahiro Wakame 6ffb56da12 Merge pull request #1459 from rwhepburn/master
Added TypeScript Definition files for Html2Canvas
2013-12-17 18:47:33 -08:00
Masahiro Wakame 900f253278 Merge pull request #1458 from mapsjs/master
Various updates to the definition file for the MapsJS Typescript Library
2013-12-17 18:41:37 -08:00
Masahiro Wakame b40911ad8c Merge pull request #1451 from loyd/master
node-ffi: adopt for --noImplicitAny
2013-12-17 18:06:38 -08:00
Masahiro Wakame e86eb8cec4 Merge pull request #1449 from ufon/master
Restify: updated plugin definitions, allowed --noImplicitAny compile flag
2013-12-17 18:02:16 -08:00
Masahiro Wakame 8711419cbb Merge pull request #1447 from damianog/patch-6
Update angular-scenario.d.ts 'enter' lacks return-type annotation
2013-12-17 18:00:50 -08:00
Masahiro Wakame 3f0a20b978 Merge pull request #1446 from GaryB432/explicit-any
adding explicit any
2013-12-17 18:00:15 -08:00
Masahiro Wakame 40ab26db02 Merge pull request #1443 from butlersoftware/knockout---TypeScript-0.9.5-fixes
various knockout test fixes
2013-12-17 17:55:58 -08:00
Ivaylo Gochkov 46a54d3216 Initial version
Work is still in progress!
2013-12-18 00:03:12 +01:00
John Vilk cddd0b7aab [Node] Node attaches errno information to some exceptions.
This is valuable information for Node applications that need to figure out why a particular system call failed.

Note that errno can either be a string or a number, which is why I have typed it as 'any'.

While this is undocumented, it is tested:
Code property: https://github.com/joyent/node/blob/v0.10.23-release/test/simple/test-fs-open.js#L34
Errno property [string]: https://github.com/joyent/node/blob/v0.10.23-release/test/internet/test-dns.js#L148
Errno property [number]: https://github.com/joyent/node/blob/v0.10.23-release/test/simple/test-domain-implicit-fs.js#L43
Syscall property: https://github.com/joyent/node/blob/v0.10.23-release/test/simple/test-stdout-close-catch.js#L38
Path property (I can’t find a test, but many examples have this line): https://github.com/joyent/node/blob/v0.10.23-release/deps/npm/node_modules/fstream-npm/example/bundle.js#L6

..and well supported in the code for all platforms (this is where I got the name 'ErrnoException' from):
*nix: https://github.com/joyent/node/blob/v0.10.23-release/src/node.cc#L719
Windows: https://github.com/joyent/node/blob/v0.10.23-release/src/node.cc#L856

Unfortunately, while every errno exception is guaranteed to have the ‘errno’ and ‘code’ properties (see the logic in the source code in node.cc), there is no hard guarantee that particular library functions will always pass an ErrnoException to the callback. I cannot find a counterexample at this moment, though. Since we can’t have union types in TypeScript, I simply made all of the properties on ErrnoException optional as a compromise.

I am only adding modifications to the fs module, which definitely throws ErrnoExceptions. But according to the examples above, other modules (e.g. dns) also pass errno information back to applications. People familiar with those other modules can update their typings to reference this interface when applicable; I lack the experience with those modules to update their typings.

Further proof:
```javascript
$ node
> var fs = require('fs');
undefined
> fs.open('doesntexistlol', 'r', function(e) { console.log(Object.keys(e)); console.log(e.code); console.log(e.errno); console.log(e.path); });
undefined
> [ 'errno', 'code', 'path' ]
ENOENT
34
doesntexistlol
```
2013-12-17 16:36:08 -05:00
Richard Hepburn 93d4a19972 Added TypeScript Definition files for Html2Canvas
Added TypeScript Definition files for Html2Canvas - a library for taking
screenshots of a browser window.
2013-12-17 11:29:04 -05:00
Matthew James Davis 939223787d update 2013-12-17 11:14:41 -05:00
Matthew James Davis 8e06913b6a Merge branch 'master' of https://github.com/mapsjs/DefinitelyTyped
Conflicts:
	mapsjs/mapsjs.d.ts
2013-12-17 11:14:01 -05:00
Matthew James Davis d82aee98f0 update 2013-12-17 11:08:13 -05:00
Basarat Ali Syed 718eff7763 Merge pull request #1456 from daptiv/54952-use-new-tslint-rules
Update angular resource definitions, and add injector definition
2013-12-17 02:34:08 -08:00
John Emau 459e286cd0 added syntax highlighting 2013-12-16 19:17:47 -08:00
John Emau a859e22699 added missing test for resource service factory and updated readme 2013-12-16 19:15:42 -08:00
John Emau 71e23deadd added tests for new angular-resource generics signatures 2013-12-16 19:03:37 -08:00
Jonathan Park 72cc261506 adding invoke inline annotated functions 2013-12-16 17:39:28 -08:00
Jonathan Park 41a7127404 updating angular resource and injector definitions 2013-12-16 17:17:39 -08:00
Basarat Ali Syed 8828800831 Merge pull request #1383 from jedmao/handlebars
Fix Ember/Handlebars
2013-12-16 16:26:32 -08:00
Basarat Ali Syed 1d30cca2e7 Merge pull request #1453 from damianog/patch-9
Update highcharts.d.ts Fixed missing type declarations.
2013-12-16 03:47:40 -08:00
Basarat Ali Syed efd60916df Merge pull request #1452 from damianog/patch-8
Update globalize.d.ts 'format' lacks return-type annotation
2013-12-16 03:47:15 -08:00
Basarat Ali Syed 30a55d258b Merge pull request #1454 from michalkutil/master
jQuery: The interface used to specify easing functions add
2013-12-15 15:16:22 -08:00
Michal Kutil 0d2fb0d17a jQuery: The interface used to specify easing functions add 2013-12-15 23:04:05 +01:00
Masahiro Wakame 909a178441 Merge pull request #1442 from brettpostin/patch-1
Update to resolve issue #1434
2013-12-15 06:50:22 -08:00
damianog a3cca0d72f Update highcharts.d.ts
Fixed missing type declarations.
2013-12-15 13:50:21 +01:00
damianog ef0db52948 Update globalize.d.ts
'format' lacks return-type annotation
2013-12-15 13:16:39 +01:00
Jed Hunsaker a63e5a7e1e Fix Ember/Handlebars 2013-12-14 14:21:00 -06:00
Paul Loyd 61d7c7cb00 node-ffi: adopt for --noImplicitAny 2013-12-15 00:05:05 +04:00
Václav Oborník ee212d0ece Restify: updated plugin defintions, allowed --noImplicitAny compile flag 2013-12-14 00:06:24 +01:00
damianog 0e8a450390 Update angular-scenario.d.ts
'enter' lacks return-type annotation, implicitly has an 'any' return type
2013-12-13 19:49:11 +01:00