Commit Graph
4937 Commits
Author SHA1 Message Date
vvakame 186dec970c Revert "Merge pull request #2213 from kostaad/patch-1" refs #2213
This reverts commit 16bdee388e, reversing
changes made to 68bf220ed5.
2014-05-20 17:26:03 +09:00
Masahiro Wakame 16bdee388e Merge pull request #2213 from kostaad/patch-1
allow angular.d.ts to be imported using AMD
2014-05-20 17:23:20 +09:00
Masahiro Wakame 68bf220ed5 Merge pull request #2210 from toedter/master
added typings for atmosphere
2014-05-20 17:09:22 +09:00
Masahiro Wakame 058bf1ccd8 Merge pull request #2206 from DavidSichau/master
Added definition for Finch
2014-05-20 16:54:33 +09:00
Masahiro Wakame b2526eb8ab Merge pull request #2205 from dmitri-gb/patch-1
Update angular.d.ts
2014-05-20 16:52:14 +09:00
Masahiro Wakame 1906c0bbb9 Merge pull request #2204 from Poupou/patch-1
Fixed specialized declaration ws.d.ts
2014-05-20 16:49:18 +09:00
Masahiro Wakame 9d7153dbbb Merge pull request #2202 from binpower93/patch-1
Highcharts Query selector to return Chart object
2014-05-20 16:48:18 +09:00
Masahiro Wakame d410adc802 Merge pull request #2201 from gartdan/patch-1
Update jquery.color.d.ts
2014-05-20 16:44:11 +09:00
Masahiro Wakame 4e0f903751 Merge pull request #2198 from JeroMiya/master
Updated for angular-translate 2.1.0
2014-05-20 16:42:19 +09:00
Masahiro Wakame 9486b92be7 Merge pull request #2196 from damianog/patch-10
Update angular.d.ts missing statusText property
2014-05-20 16:36:37 +09:00
Masahiro Wakame 322f0b2299 Merge pull request #2194 from Cobster/master
Adding GeoJSON spec
2014-05-20 16:30:41 +09:00
Masahiro Wakame 48513a2e41 Merge pull request #2192 from audsKu/patch-1
Update d3.d.ts
2014-05-20 16:29:51 +09:00
Masahiro Wakame 015a2578a4 Merge pull request #2175 from AdaskoTheBeAsT/master
jstree definition file - fixed encoding and destroy function in JSTree
2014-05-20 16:25:02 +09:00
vvakame 0d856153a9 Merge branch 'lijunle-jQueryPostMessage' 2014-05-20 16:20:57 +09:00
vvakame 92466814d5 rename jquery.postMessage/jquery.postMessage-test.ts -> jquery.postMessage/jquery.postMessage-tests.ts 2014-05-20 16:20:36 +09:00
vvakame d8391ee8c7 Merge branch 'jQueryPostMessage' of github.com:lijunle/DefinitelyTyped into lijunle-jQueryPostMessage 2014-05-20 16:19:17 +09:00
Masahiro Wakame 606e318ff1 Merge pull request #2199 from styfle/patch-4
$.parseJSON should return `any` instead of `Object`
2014-05-20 16:13:46 +09:00
John Reilly d17a1e205b Merge pull request #2216 from omidkrad/master
Use power of Generics to infer types in more functions
2014-05-20 06:42:02 +01:00
Omid K. Rad 0decf4c6f7 Use power of Generics to infer types
in more functions
2014-05-19 16:51:32 -07:00
kostaad d3f3d9839f Update angular.d.ts 2014-05-18 22:26:35 -04:00
kostaad 146af7e4d3 allow angular.d.ts to be imported using AMD
currently if you do 
import angular = require("angular"); 
tsc will throw 2071 - Unable to resolve external module 'angular'
this 
declare module 'angular'{
    export var angular:ng.IAngularStatic;
}
declares such a module.
2014-05-18 21:56:20 -04:00
Kai Toedter 11179de660 added typings for atmosphere 2014-05-18 21:37:47 +02:00
David Sichau bc024b898c added definition file for Finch 2014-05-17 18:20:43 +02:00
dmitri-gb 25fe7f0a13 Fix method signature in angular.d.ts 2014-05-17 17:27:27 +03:00
dmitri-gb ca93622f0a Update angular.d.ts
Add aHrefSanitizationWhitelist and imgSrcSanitizationWhitelist to ICompileService
2014-05-17 16:57:37 +03:00
Julien Chaintron 922b70d087 Update ws.d.ts
Typescript specification says:

"When writing overloaded declarations such as the one above it is important to list the non-pecialized signature last. This is because overload resolution (section 4.12.1) processes the candidates in declaration order and picks the first one that matches."

Fixed this for Server and WebSocket class
2014-05-17 14:56:44 +01:00
Boris Yankov bb59fade92 Fix implicit any error in Hello.js typings 2014-05-17 03:56:47 +03:00
Boris Yankov de02aeb132 Update and improve Hello.js typings 2014-05-17 00:59:25 +03:00
John Reilly 55ba03447a Merge pull request #2203 from csnover/patch-1
Fix bad signature of http.ClientRequest#setNoDelay
2014-05-16 20:28:04 +01:00
Colin Snover 1789164e95 Add test of ClientRequest#setNoDelay interface
Uses an invalid address as request address to avoid actual HTTP requests (since it is not necessary to make a real request to test this interface).
2014-05-16 12:46:14 -05:00
Colin Snover 9f5a5ab394 Fix bad signature of ClientRequest#setNoDelay
`noDelay` argument should be boolean, not Function
2014-05-16 12:25:08 -05:00
Ben Barber ddc0c1f955 Highcharts Query selector to return Chart object
According to http://api.highcharts.com/highcharts#Highcharts the 'Highchart()' function should return a Highchart object.
2014-05-16 16:00:23 +01:00
gartdan 8b5f59b2f6 Update jquery.color.d.ts
red, green, blue, alpha, hue, saturation, lightness all accept a string parameter in the format of "+=100" or "-=100" as per https://github.com/jquery/jquery-color/

red()             // returns the "red" component of the color ( Integer from 0 - 255 )
red( val )        // returns a copy of the color object with the red set to val
green()           // returns the "green" component of the color from ( Integer from 0 - 255 )
green( val )      // returns a copy of the color object with the green set to val
blue()            // returns the "blue" component of the color from ( Integer from 0 - 255 )
blue( val )       // returns a copy of the color object with the blue set to val
alpha()           // returns the "alpha" component of the color from ( Float from 0.0 - 1.0 )
alpha( val )      // returns a copy of the color object with the alpha set to val
hue()             // returns the "hue" component of the color ( Integer from 0 - 359 )
hue( val )        // returns a copy of the color object with the hue set to val
saturation()      // returns the "saturation" component of the color ( Float from 0.0 - 1.0 )
saturation( val ) // returns a copy of the color object with the saturation set to val
lightness()       // returns the "lightness" component of the color ( Float from 0.0 - 1.0 )
lightness( val )  // returns a copy of the color object with the lightness set to val
// all of the above values can also take strings in the format of "+=100" or "-=100"
2014-05-15 16:47:49 -05:00
Steven Salat 575a77c921 Added test for parseJSON 2014-05-15 14:23:05 -07:00
John Reilly fbee02cb17 Merge pull request #2197 from AdaskoTheBeAsT/master
Fix encoding and fix for destroy method
2014-05-15 07:56:06 +01:00
Sleepy Daddy Software™ e69d85983e Updated angular-translate-tests.ts 2014-05-14 23:17:05 -04:00
Steven 9af5cff974 $.parseJSON should return any instead of Object
Here is my test:
```js
var i = JSON.parse('1');
var a = JSON.parse('[1]');
var o = JSON.parse('{"foo":"bar"}');
var s = JSON.parse('"string"');
var n = JSON.parse('null');

i instanceof Object; // false
a instanceof Object; // true
o instanceof Object; // true
s instanceof Object; // false
n instanceof Object; // false
```

JSON.parse returns the `any` type so I think this method should do the same.

More of the discussion regarding this pull request can be found on the original commit 8c23d04a5b

https://github.com/borisyankov/DefinitelyTyped/commit/8c23d04a5b4a0505df042a82be90f95adff02d87
2014-05-14 18:00:49 -07:00
Sleepy Daddy Software™ 7b80d5c96c Updated to angular-translate 2.1.0
Updated type definitions to 2.1.0, added missing methods to ITranslateProvider and ITranslateService.
2014-05-14 18:17:22 -04:00
AdaskoTheBeAsT 38d2028acd Fix encoding and fix for destroy method
Fix encoding and fix for destroy method
2014-05-14 23:15:29 +02:00
damianog 248ce05b59 Update angular.d.ts missing statusText property
On IHttpPromiseCallbackArg added missing statusText property.

From angular's API

    data – {string|Object} – The response body transformed with the transform functions.
    status – {number} – HTTP status code of the response.
    headers – {function([headerName])} – Header getter function.
    config – {Object} – The configuration object that was used to generate the request.
    statusText – {string} – HTTP status text of the response.
2014-05-14 11:51:29 +02:00
Jake Bruun f8935ebdca Updated contributors.md 2014-05-13 23:24:19 -07:00
Jake Bruun 63cd88fcf3 Fixed formatting 2014-05-13 23:20:07 -07:00
Jake Bruun 44c5608942 Fixed formatting 2014-05-13 23:18:57 -07:00
Jake Bruun d50b504e5e Create declaration file for GeoJSON spec. 2014-05-13 23:14:42 -07:00
Audrey 4af3ac7fae Update d3.d.ts
Gamma value k is optional per https://github.com/mbostock/d3/wiki/Colors
2014-05-13 16:43:52 -04:00
Masahiro Wakame 9371c65e5a Merge pull request #2186 from zaneli/offline_audio_context
Add webkitOfflineAudioContext definition, and remove invalid constructor.
2014-05-13 14:06:52 +09:00
Masahiro Wakame b7bd0b8d81 Merge pull request #2184 from gyohk/master
Removed unnecessary description of the test code. And, correct errors ...
2014-05-13 14:05:26 +09:00
Masahiro Wakame ffc0bd2f2a Merge pull request #2185 from domesticmouse/patch-2
Making gapi.auth.authorize accept string|array
2014-05-13 14:05:06 +09:00
zaneli 28e92405ba remove unnecessary .tscparams files 2014-05-13 13:54:08 +09:00
zaneli d5613ac757 Add webkitOfflineAudioContext definition, and remove invalid constructor. 2014-05-13 13:51:00 +09:00