diff --git a/Finch/Finch.d.ts b/Finch/Finch.d.ts index e23e97ef5..e3dd86c70 100644 --- a/Finch/Finch.d.ts +++ b/Finch/Finch.d.ts @@ -1,6 +1,6 @@ // Type definitions for Finch 0.5.13 -// Project: https://github.com/stoodder/finchjs -// Definitions by: https://github.com/DavidSichau +// Project: https://github.com/stoodder/finchjs +// Definitions by: David Sichau // Definitions: https://github.com/borisyankov/DefinitelyTyped diff --git a/amplifyjs/amplifyjs.d.ts b/amplifyjs/amplifyjs.d.ts index a918b7c73..364845f3c 100644 --- a/amplifyjs/amplifyjs.d.ts +++ b/amplifyjs/amplifyjs.d.ts @@ -1,10 +1,10 @@ -/// - // Type definitions for AmplifyJs 1.1.0 // Project: http://amplifyjs.com/ // Definitions by: Jonas Eriksson // Definitions: https://github.com/borisyankov/DefinitelyTyped +/// + interface amplifyRequestSettings { resourceId: string; data?: any; diff --git a/angular-translate/angular-translate.d.ts b/angular-translate/angular-translate.d.ts index 6b6071102..47dfa63a5 100644 --- a/angular-translate/angular-translate.d.ts +++ b/angular-translate/angular-translate.d.ts @@ -1,6 +1,6 @@ // Type definitions for Angular Translate (pascalprecht.translate module) // Project: https://github.com/PascalPrecht/angular-translate -// Definitions by: Michel Salib +// Definitions by: Michel Salib // Definitions: https://github.com/borisyankov/DefinitelyTyped /// diff --git a/angular-ui/angular-ui-router.d.ts b/angular-ui/angular-ui-router.d.ts index 3b233c86a..6327719b5 100644 --- a/angular-ui/angular-ui-router.d.ts +++ b/angular-ui/angular-ui-router.d.ts @@ -1,6 +1,6 @@ // Type definitions for Angular JS 1.1.5+ (ui.router module) // Project: https://github.com/angular-ui/ui-router -// Definitions by: Michel Salib +// Definitions by: Michel Salib // Definitions: https://github.com/borisyankov/DefinitelyTyped /// diff --git a/angularjs/angular-animate.d.ts b/angularjs/angular-animate.d.ts index 696e6f834..9503e36d7 100644 --- a/angularjs/angular-animate.d.ts +++ b/angularjs/angular-animate.d.ts @@ -1,6 +1,6 @@ // Type definitions for Angular JS 1.2+ (ngAnimate module) // Project: http://angularjs.org -// Definitions by: Michel Salib +// Definitions by: Michel Salib // Definitions: https://github.com/borisyankov/DefinitelyTyped /// diff --git a/angularjs/angular-cookies.d.ts b/angularjs/angular-cookies.d.ts index 60eebbacb..622221675 100644 --- a/angularjs/angular-cookies.d.ts +++ b/angularjs/angular-cookies.d.ts @@ -1,4 +1,4 @@ -/// Type definitions for Angular JS 1.2 (ngCookies module) +// Type definitions for Angular JS 1.2 (ngCookies module) // Project: http://angularjs.org // Definitions by: Diego Vilar // Definitions: https://github.com/borisyankov/DefinitelyTyped diff --git a/angularjs/angular-resource.d.ts b/angularjs/angular-resource.d.ts index 51b93091f..597a58e40 100644 --- a/angularjs/angular-resource.d.ts +++ b/angularjs/angular-resource.d.ts @@ -1,6 +1,6 @@ // Type definitions for Angular JS 1.2 (ngResource module) // Project: http://angularjs.org -// Definitions by: Diego Vilar , Michael Jess (minor enhancements) +// Definitions by: Diego Vilar , Michael Jess // Definitions: https://github.com/daptiv/DefinitelyTyped /// diff --git a/angularjs/angular-route.d.ts b/angularjs/angular-route.d.ts index d4e35b7e2..ba6d0aac9 100644 --- a/angularjs/angular-route.d.ts +++ b/angularjs/angular-route.d.ts @@ -1,6 +1,6 @@ // Type definitions for Angular JS 1.2 (ngRoute module) // Project: http://angularjs.org -// Definitions by: Jonathan Park +// Definitions by: Jonathan Park // Definitions: https://github.com/borisyankov/DefinitelyTyped /// diff --git a/angularjs/angular-scenario.d.ts b/angularjs/angular-scenario.d.ts index ec3efd9f9..ee71ffbea 100644 --- a/angularjs/angular-scenario.d.ts +++ b/angularjs/angular-scenario.d.ts @@ -1,6 +1,6 @@ // Type definitions for Angular Scenario Testing // Project: http://angularjs.org -// Definitions by: RomanoLindano +// Definitions by: RomanoLindano // Definitions: https://github.com/borisyankov/DefinitelyTyped /// diff --git a/ansicolors/ansicolors.d.ts b/ansicolors/ansicolors.d.ts index 0ffc99910..2f61b0435 100644 --- a/ansicolors/ansicolors.d.ts +++ b/ansicolors/ansicolors.d.ts @@ -1,4 +1,9 @@ +// Type definitions for ansicolors +// Project: https://github.com/thlorenz/ansicolors +// Definitions by: rogierschouten +// Definitions: https://github.com/borisyankov/DefinitelyTyped + declare module "ansicolors" { var colors: {[index: string]: (s: string) => string;}; - export = colors; + export = colors; } diff --git a/asciify/asciify.d.ts b/asciify/asciify.d.ts index 4dc47cd3a..33f82019b 100644 --- a/asciify/asciify.d.ts +++ b/asciify/asciify.d.ts @@ -1,6 +1,6 @@ // Type definitions for asciify 1.3.5 // Project: https://www.npmjs.org/package/asciify -// Definitions by: Alan Norbauer http://alan.norbauer.com +// Definitions by: Alan Norbauer // Definitions: https://github.com/borisyankov/DefinitelyTyped /// @@ -26,4 +26,4 @@ declare module "asciify" { } export = asciify -} \ No newline at end of file +} diff --git a/auth0.widget/auth0.widget.d.ts b/auth0.widget/auth0.widget.d.ts index 932d79c94..d45c3a212 100644 --- a/auth0.widget/auth0.widget.d.ts +++ b/auth0.widget/auth0.widget.d.ts @@ -1,5 +1,5 @@ // Type definitions for Auth0Widget.js -// Project: Auth0.com +// Project: http://auth0.com // Definitions by: Robert McLaws // Definitions: https://github.com/borisyankov/DefinitelyTyped @@ -45,4 +45,4 @@ declare var Auth0Widget: Auth0WidgetStatic; declare module "Auth0Widget" { export = Auth0Widget -} \ No newline at end of file +} diff --git a/auth0/auth0.d.ts b/auth0/auth0.d.ts index 02b8e0196..5d3149ead 100644 --- a/auth0/auth0.d.ts +++ b/auth0/auth0.d.ts @@ -1,5 +1,5 @@ // Type definitions for Auth0.js -// Project: Auth0.com +// Project: http://auth0.com // Definitions by: Robert McLaws // Definitions: https://github.com/borisyankov/DefinitelyTyped @@ -130,4 +130,4 @@ declare var Auth0: Auth0Static; declare module "Auth0" { export = Auth0 -} \ No newline at end of file +} diff --git a/backbone/backbone.d.ts b/backbone/backbone.d.ts index 6fa7e6d60..b58c4652f 100644 --- a/backbone/backbone.d.ts +++ b/backbone/backbone.d.ts @@ -1,10 +1,8 @@ // Type definitions for Backbone 1.0.0 // Project: http://backbonejs.org/ -// Definitions by: Boris Yankov -// Definitions by: Natan Vivo +// Definitions by: Boris Yankov , Natan Vivo // Definitions: https://github.com/borisyankov/DefinitelyTyped - /// /// diff --git a/chai-datetime/chai-datetime.d.ts b/chai-datetime/chai-datetime.d.ts index 263034361..bce063443 100644 --- a/chai-datetime/chai-datetime.d.ts +++ b/chai-datetime/chai-datetime.d.ts @@ -1,7 +1,7 @@ // Type definitions for chai-datetime // Project: https://github.com/gaslight/chai-datetime.git // Definitions by: Cliff Burger -// DefinitelyTyped: https://github.com/borisyankov/DefinitelyTyped +// Definitions: https://github.com/borisyankov/DefinitelyTyped /// diff --git a/chai-jquery/chai-jquery.d.ts b/chai-jquery/chai-jquery.d.ts index 52fd4f3f5..826e66579 100644 --- a/chai-jquery/chai-jquery.d.ts +++ b/chai-jquery/chai-jquery.d.ts @@ -1,7 +1,7 @@ // Type definitions for chai-jquery 1.1.1 // Project: https://github.com/chaijs/chai-jquery // Definitions by: Kazi Manzur Rashid -// DefinitelyTyped: https://github.com/borisyankov/DefinitelyTyped +// Definitions: https://github.com/borisyankov/DefinitelyTyped /// diff --git a/chai/chai.d.ts b/chai/chai.d.ts index d840aba96..54d5770c9 100644 --- a/chai/chai.d.ts +++ b/chai/chai.d.ts @@ -1,8 +1,7 @@ // Type definitions for chai 1.7.2 // Project: http://chaijs.com/ // Definitions by: Jed Hunsaker -// DefinitelyTyped: https://github.com/borisyankov/DefinitelyTyped - +// Definitions: https://github.com/borisyankov/DefinitelyTyped declare module chai { diff --git a/chrome/chrome-app.d.ts b/chrome/chrome-app.d.ts index c8dd2e6d4..ad319394f 100644 --- a/chrome/chrome-app.d.ts +++ b/chrome/chrome-app.d.ts @@ -1,4 +1,4 @@ -// Type definitions for Chrome packaged application development. +// Type definitions for Chrome packaged application development // Project: http://developer.chrome.com/apps/ // Definitions by: Adam Lay // Definitions: https://github.com/borisyankov/DefinitelyTyped @@ -92,4 +92,4 @@ declare module chrome.app.window { var onMaximized: WindowEvent; var onMinimized: WindowEvent; var onRestored: WindowEvent; -} \ No newline at end of file +} diff --git a/chrome/chrome.d.ts b/chrome/chrome.d.ts index d7aee083e..796635c27 100755 --- a/chrome/chrome.d.ts +++ b/chrome/chrome.d.ts @@ -1,6 +1,6 @@ -// Type definitions for Chrome extension development. +// Type definitions for Chrome extension development // Project: http://developer.chrome.com/extensions/ -// Definitions by: Matthew Kimber and otiai10 +// Definitions by: Matthew Kimber , otiai10 // Definitions: https://github.com/borisyankov/DefinitelyTyped //////////////////// diff --git a/cordova/cordova.d.ts b/cordova/cordova.d.ts index 95be38882..9377912b0 100644 --- a/cordova/cordova.d.ts +++ b/cordova/cordova.d.ts @@ -1,6 +1,6 @@ -// Type definitions for Apache Cordova. +// Type definitions for Apache Cordova // Project: http://cordova.apache.org -// Definitions by: Microsoft Open Technologies, Inc. +// Definitions by: Microsoft Open Technologies Inc. // Definitions: https://github.com/borisyankov/DefinitelyTyped // // Copyright (c) Microsoft Open Technologies, Inc. @@ -57,4 +57,4 @@ interface UrlUtil { } /** Apache Cordova instance */ -declare var cordova: Cordova; \ No newline at end of file +declare var cordova: Cordova; diff --git a/createjs-lib/createjs-lib.d.ts b/createjs-lib/createjs-lib.d.ts index 048fde92d..a61679aa7 100644 --- a/createjs-lib/createjs-lib.d.ts +++ b/createjs-lib/createjs-lib.d.ts @@ -1,5 +1,5 @@ -// Type definitions for EaselJS 0.7.1, TweenJS 0.5.1, SoundJS 0.5.2, PreloadJS 0.4.1 -// Project: http://www.createjs.com/#!/EaselJS +// Type definitions for CreateJS +// Project: http://www.createjs.com/ // Definitions by: Pedro Ferreira , Chris Smith , Satoru Kimura // Definitions: https://github.com/borisyankov/DefinitelyTyped diff --git a/createjs/createjs.d.ts b/createjs/createjs.d.ts index 7be29abbe..f064d07f6 100644 --- a/createjs/createjs.d.ts +++ b/createjs/createjs.d.ts @@ -1,5 +1,5 @@ -// Type definitions for EaselJS 0.7.1, TweenJS 0.5.1, SoundJS 0.5.2, PreloadJS 0.4.1 -// Project: http://www.createjs.com/#!/EaselJS +// Type definitions for CreateJS +// Project: http://www.createjs.com/ // Definitions by: Pedro Ferreira , Chris Smith , Satoru Kimura // Definitions: https://github.com/borisyankov/DefinitelyTyped diff --git a/crossroads/crossroads.d.ts b/crossroads/crossroads.d.ts index 76fad217a..e86e3154d 100644 --- a/crossroads/crossroads.d.ts +++ b/crossroads/crossroads.d.ts @@ -1,7 +1,7 @@ // Type definitions for Crossroads.js // Project: http://millermedeiros.github.io/crossroads.js/ // Definitions by: Diullei Gomes -// DefinitelyTyped: https://github.com/borisyankov/DefinitelyTyped +// Definitions: https://github.com/borisyankov/DefinitelyTyped /// diff --git a/dcjs/dc.d.ts b/dcjs/dc.d.ts index 0391d2502..2b06c34dd 100644 --- a/dcjs/dc.d.ts +++ b/dcjs/dc.d.ts @@ -1,7 +1,8 @@ // Type definitions for DCJS // Project: https://github.com/dc-js -// Definitions by: hans windhoff +// Definitions by: hans windhoff // Definitions: https://github.com/borisyankov/DefinitelyTyped + // this makes only sense together with d3 and crossfilter so you need the d3.d.ts and crossfilter.d.ts files /// @@ -195,4 +196,4 @@ export interface ILegendwidget { export function rowChart(cssSel: string): IRowchart; -} \ No newline at end of file +} diff --git a/domready/domready.d.ts b/domready/domready.d.ts index 14ba14011..7dc9c7749 100644 --- a/domready/domready.d.ts +++ b/domready/domready.d.ts @@ -1,6 +1,6 @@ // Type definitions for domready // Project: https://github.com/ded/domready -// Definitions by: Christian Holm Nielsen +// Definitions by: Christian Holm Nielsen // Definitions: https://github.com/borisyankov/DefinitelyTyped declare function domready(callback: () => any) : void; diff --git a/expect.js/expect.js.d.ts b/expect.js/expect.js.d.ts index 21bffb44a..8e5cfe142 100644 --- a/expect.js/expect.js.d.ts +++ b/expect.js/expect.js.d.ts @@ -1,7 +1,7 @@ // Type definitions for expect.js 0.2.0 // Project: https://github.com/LearnBoost/expect.js // Definitions by: Teppei Sato -// DefinitelyTyped: https://github.com/borisyankov/DefinitelyTyped +// Definitions: https://github.com/borisyankov/DefinitelyTyped declare function expect(target?: any): Expect.Root; diff --git a/expectations/expectations.d.ts b/expectations/expectations.d.ts index 4b02e1c0c..8e2750583 100644 --- a/expectations/expectations.d.ts +++ b/expectations/expectations.d.ts @@ -1,7 +1,7 @@ // Type definitions for expectations.js 0.2.5 // Project: https://github.com/spmason/expectations // Definitions by: vvakame -// DefinitelyTyped: https://github.com/borisyankov/DefinitelyTyped +// Definitions: https://github.com/borisyankov/DefinitelyTyped declare var expect:Expectations.IExpectations; @@ -57,4 +57,4 @@ declare module Expectations { fail(why?:string, what?:any):any; } -} \ No newline at end of file +} diff --git a/express-validator/express-validator.d.ts b/express-validator/express-validator.d.ts index 5a1ba31b7..b18b17e96 100644 --- a/express-validator/express-validator.d.ts +++ b/express-validator/express-validator.d.ts @@ -1,7 +1,7 @@ // Type definitions for express-validator // Project: https://github.com/ctavan/express-validator // Definitions by: Nathan Ridley -// DefinitelyTyped: https://github.com/borisyankov/DefinitelyTyped +// Definitions: https://github.com/borisyankov/DefinitelyTyped declare module ExpressValidator { export interface ValidationError { diff --git a/express/express.d.ts b/express/express.d.ts index eafc4c596..40be7e4ec 100644 --- a/express/express.d.ts +++ b/express/express.d.ts @@ -1,7 +1,7 @@ // Type definitions for Express 3.1 // Project: http://expressjs.com // Definitions by: Boris Yankov -// DefinitelyTyped: https://github.com/borisyankov/DefinitelyTyped +// Definitions: https://github.com/borisyankov/DefinitelyTyped /* =================== USAGE =================== diff --git a/fabricjs/fabricjs.d.ts b/fabricjs/fabricjs.d.ts index 813782047..eec70c8f6 100644 --- a/fabricjs/fabricjs.d.ts +++ b/fabricjs/fabricjs.d.ts @@ -1,7 +1,7 @@ // Type definitions for FabricJS // Project: http://fabricjs.com/ // Definitions by: Oliver Klemencic -// DefinitelyTyped: https://github.com/borisyankov/DefinitelyTyped +// Definitions: https://github.com/borisyankov/DefinitelyTyped declare module fabric { diff --git a/filesystem/filesystem.d.ts b/filesystem/filesystem.d.ts index 11fb48dd0..8b20b113c 100644 --- a/filesystem/filesystem.d.ts +++ b/filesystem/filesystem.d.ts @@ -1,4 +1,4 @@ -// Type Definitions for File System API +// Type definitions for File System API // Project: http://www.w3.org/TR/file-system-api/ // Definitions by: Kon // Definitions: https://github.com/borisyankov/DefinitelyTyped diff --git a/filewriter/filewriter.d.ts b/filewriter/filewriter.d.ts index f0d958afa..a4910d0b1 100644 --- a/filewriter/filewriter.d.ts +++ b/filewriter/filewriter.d.ts @@ -1,4 +1,4 @@ -// Type Definitions for File API: Writer +// Type definitions for File API: Writer // Project: http://www.w3.org/TR/file-writer-api/ // Definitions by: Kon // Definitions: https://github.com/borisyankov/DefinitelyTyped diff --git a/ftdomdelegate/ftdomdelegate.d.ts b/ftdomdelegate/ftdomdelegate.d.ts index 04766bd26..905bef706 100644 --- a/ftdomdelegate/ftdomdelegate.d.ts +++ b/ftdomdelegate/ftdomdelegate.d.ts @@ -1,6 +1,6 @@ // Type definitions for ftdomdelegate // Project: https://github.com/ftlabs/ftdomdelegate -// Definitions by: Christian Holm Nielsen +// Definitions by: Christian Holm Nielsen // Definitions: https://github.com/borisyankov/DefinitelyTyped declare class Delegate @@ -19,4 +19,4 @@ declare class Delegate root(element? : Element) : void; destroy() : void; -} \ No newline at end of file +} diff --git a/gldatepicker/gldatepicker.d.ts b/gldatepicker/gldatepicker.d.ts index 3ed84c219..0e517057e 100644 --- a/gldatepicker/gldatepicker.d.ts +++ b/gldatepicker/gldatepicker.d.ts @@ -1,6 +1,6 @@ // Type definitions for glDatePicker 2.0 // Project: http://glad.github.com/glDatePicker/ -// Definitions by: Dániel Tar https://github.com/qcz +// Definitions by: Dániel Tar // Definitions: https://github.com/borisyankov/DefinitelyTyped /// @@ -66,4 +66,4 @@ interface GlDatePicker { interface JQuery { glDatePicker(ret: boolean): GlDatePicker; glDatePicker(options?: GlDatePickerOptions): JQuery; -} \ No newline at end of file +} diff --git a/googlemaps.infobubble/google.maps.infobubble.d.ts b/googlemaps.infobubble/google.maps.infobubble.d.ts index 2d88d8645..e8d4d438c 100644 --- a/googlemaps.infobubble/google.maps.infobubble.d.ts +++ b/googlemaps.infobubble/google.maps.infobubble.d.ts @@ -1,10 +1,10 @@ -/// - // Type definitions for CSS3 InfoBubble with tabs for Google Maps API V3 // Project: http://google-maps-utility-library-v3.googlecode.com/svn/trunk/infobubble/src/ -// Definitions by: Johan Nilsson https://github.com/Dashue +// Definitions by: Johan Nilsson // Definitions: https://github.com/borisyankov/DefinitelyTyped +/// + /** * @name CSS3 InfoBubble with tabs for Google Maps API V3 * @version 0.8 @@ -105,4 +105,4 @@ declare module google.maps.infobubble { */ shadowStyle?: number; } -} \ No newline at end of file +} diff --git a/highlightjs/highlightjs.d.ts b/highlightjs/highlightjs.d.ts index 9e3567cdb..d730029b5 100644 --- a/highlightjs/highlightjs.d.ts +++ b/highlightjs/highlightjs.d.ts @@ -1,7 +1,8 @@ // Type definitions for highlight.js // Project: https://github.com/isagalaev/highlight.js -// Definitions by: Niklas Mollenhauer +// Definitions by: Niklas Mollenhauer // Definitions: https://github.com/borisyankov/DefinitelyTyped + declare module "highlight.js" { module hljs diff --git a/humane/humane.d.ts b/humane/humane.d.ts index 06f865636..3be0a1d48 100644 --- a/humane/humane.d.ts +++ b/humane/humane.d.ts @@ -1,7 +1,7 @@ // Type definitions for Humane 3.0 // Project: http://wavded.github.com/humane-js/ // Definitions by: jmvrbanac -// DefinitelyTyped: https://github.com/borisyankov/DefinitelyTyped +// Definitions: https://github.com/borisyankov/DefinitelyTyped interface HumaneOptions { diff --git a/i18next/i18next.d.ts b/i18next/i18next.d.ts index 6fabcce44..e9083c4d5 100644 --- a/i18next/i18next.d.ts +++ b/i18next/i18next.d.ts @@ -1,6 +1,6 @@ -// Type definitions for i18next (v1.5.10 incl. jQuery) +// Type definitions for i18next v1.5.10 // Project: http://i18next.com -// Definitions by: Maarten Docter - Blog: http://www.maartendocter.nl +// Definitions by: Maarten Docter // Definitions: https://github.com/borisyankov/DefinitelyTyped // Sources: https://github.com/jamuhl/i18next/ diff --git a/iscroll/iscroll-lite.d.ts b/iscroll/iscroll-lite.d.ts index 1cd83b1dd..85d1a6934 100644 --- a/iscroll/iscroll-lite.d.ts +++ b/iscroll/iscroll-lite.d.ts @@ -1,6 +1,6 @@ // Type definitions for iScroll Lite 4.1 // Project: http://cubiq.org/iscroll-4 -// Definitions by: Boris Yankov and Christiaan Rakowski +// Definitions by: Boris Yankov , Christiaan Rakowski // Definitions: https://github.com/borisyankov/DefinitelyTyped diff --git a/iscroll/iscroll.d.ts b/iscroll/iscroll.d.ts index 34234c00a..ff615a5f8 100644 --- a/iscroll/iscroll.d.ts +++ b/iscroll/iscroll.d.ts @@ -1,6 +1,6 @@ // Type definitions for iScroll 4.2 // Project: http://cubiq.org/iscroll-4 -// Definitions by: Boris Yankov and Christiaan Rakowski +// Definitions by: Boris Yankov , Christiaan Rakowski // Definitions: https://github.com/borisyankov/DefinitelyTyped diff --git a/jasmine-fixture/jasmine-fixture.d.ts b/jasmine-fixture/jasmine-fixture.d.ts index 4c11fe94f..10da424f7 100644 --- a/jasmine-fixture/jasmine-fixture.d.ts +++ b/jasmine-fixture/jasmine-fixture.d.ts @@ -1,7 +1,7 @@ // Type definitions for Jasmine-fixture 1.0.7 // Project: https://github.com/searls/jasmine-fixture // Definitions by: Craig Brett -// DefinitelyTyped: https://github.com/borisyankov/DefinitelyTyped +// Definitions: https://github.com/borisyankov/DefinitelyTyped /** Affixes the given jquery selectors into the body and will be removed after each spec * @param {string} selector The JQuery selector to be added to the dom @@ -13,4 +13,4 @@ interface JQuery { * @param {string} selector The JQuery selector to be added to the dom */ affix(selector: string): JQuery; -} \ No newline at end of file +} diff --git a/jasmine-jquery/jasmine-jquery.d.ts b/jasmine-jquery/jasmine-jquery.d.ts index 1d3c30cda..e1ed6c3c0 100644 --- a/jasmine-jquery/jasmine-jquery.d.ts +++ b/jasmine-jquery/jasmine-jquery.d.ts @@ -1,7 +1,7 @@ // Type definitions for Jasmine-JQuery 1.5.8 // Project: https://github.com/velesin/jasmine-jquery // Definitions by: Gregor Stamac -// DefinitelyTyped: https://github.com/borisyankov/DefinitelyTyped +// Definitions: https://github.com/borisyankov/DefinitelyTyped /// /// diff --git a/jasmine/jasmine.d.ts b/jasmine/jasmine.d.ts index d8132b4bc..63d7bde37 100644 --- a/jasmine/jasmine.d.ts +++ b/jasmine/jasmine.d.ts @@ -1,7 +1,7 @@ // Type definitions for Jasmine 2.0 // Project: http://pivotal.github.com/jasmine/ // Definitions by: Boris Yankov , Theodore Brown -// DefinitelyTyped: https://github.com/borisyankov/DefinitelyTyped +// Definitions: https://github.com/borisyankov/DefinitelyTyped declare function describe(description: string, specDefinitions: () => void): void; diff --git a/jasmine/legacy/jasmine-1.3.d.ts b/jasmine/legacy/jasmine-1.3.d.ts index b380959d0..c50621085 100644 --- a/jasmine/legacy/jasmine-1.3.d.ts +++ b/jasmine/legacy/jasmine-1.3.d.ts @@ -1,7 +1,7 @@ // Type definitions for Jasmine 1.3 // Project: http://pivotal.github.com/jasmine/ // Definitions by: Boris Yankov -// DefinitelyTyped: https://github.com/borisyankov/DefinitelyTyped +// Definitions: https://github.com/borisyankov/DefinitelyTyped declare function describe(description: string, specDefinitions: () => void): void; diff --git a/jqrangeslider/jqrangeslider.d.ts b/jqrangeslider/jqrangeslider.d.ts index ef688e5d9..b41df43c0 100644 --- a/jqrangeslider/jqrangeslider.d.ts +++ b/jqrangeslider/jqrangeslider.d.ts @@ -1,6 +1,6 @@ // Type definitions for jQRangeSlider 4.2.8 // Project: http://ghusse.github.com/jQRangeSlider -// Definitions by: Dániel Tar https://github.com/qcz +// Definitions by: Dániel Tar // Definitions: https://github.com/borisyankov/DefinitelyTyped /// diff --git a/jquery.address/jquery.address.d.ts b/jquery.address/jquery.address.d.ts index bbf91d84a..59f534eff 100644 --- a/jquery.address/jquery.address.d.ts +++ b/jquery.address/jquery.address.d.ts @@ -1,6 +1,6 @@ // Type definitions for jQuery.Address 1.5 // Project: https://github.com/asual/jquery-address -// Definitions by: Martin Duparc <@martinduparc> +// Definitions by: Martin Duparc // Definitions: https://github.com/borisyankov/DefinitelyTyped/ /// diff --git a/jquery.clientSideLogging/jquery.clientSideLogging.d.ts b/jquery.clientSideLogging/jquery.clientSideLogging.d.ts index b52f41be1..4f1318a1f 100644 --- a/jquery.clientSideLogging/jquery.clientSideLogging.d.ts +++ b/jquery.clientSideLogging/jquery.clientSideLogging.d.ts @@ -1,4 +1,4 @@ -// Type definitions for jquery.clientSideLogging. +// Type definitions for jquery.clientSideLogging // Project: https://github.com/remybach/jQuery.clientSideLogging // Definitions by: Diullei Gomes // Definitions: https://github.com/borisyankov/DefinitelyTyped diff --git a/jquery.colorbox/jquery.colorbox.d.ts b/jquery.colorbox/jquery.colorbox.d.ts index d28422346..e13b0bbd5 100644 --- a/jquery.colorbox/jquery.colorbox.d.ts +++ b/jquery.colorbox/jquery.colorbox.d.ts @@ -1,6 +1,6 @@ // Type definitions for jQuery.Colorbox 1.4.15 // Project: http://www.jacklmoore.com/colorbox/ -// Definitions by: Gidon Junge <@gjunge> +// Definitions by: Gidon Junge // Definitions: https://github.com/borisyankov/DefinitelyTyped/ /// diff --git a/jquery.cycle/jquery.cycle.d.ts b/jquery.cycle/jquery.cycle.d.ts index dfe8e1c5c..b482eda80 100644 --- a/jquery.cycle/jquery.cycle.d.ts +++ b/jquery.cycle/jquery.cycle.d.ts @@ -1,6 +1,6 @@ -// Type definitions for jQuery.cycle.js 2.9999.81 (15-JAN-2013) +// Type definitions for jQuery.cycle.js // Project: http://jquery.malsup.com/cycle/ -// Definitions by: Franois Guillot +// Definitions by: François Guillot // Definitions: https://github.com/borisyankov/DefinitelyTyped @@ -90,4 +90,4 @@ interface Cycle { interface JQuery { cycle: Cycle; -} \ No newline at end of file +} diff --git a/jquery.cycle2/jquery.cycle2.d.ts b/jquery.cycle2/jquery.cycle2.d.ts index 699d2aff8..d27fbf1c8 100644 --- a/jquery.cycle2/jquery.cycle2.d.ts +++ b/jquery.cycle2/jquery.cycle2.d.ts @@ -1,5 +1,6 @@ // Type definitions for jQuery Cycle2 version 2.1.2 (build 20140216) -// Project: http://jquery.malsup.com/cycle2/ (also https://github.com/malsup/cycle2) +// Project: http://jquery.malsup.com/cycle2/ +// https://github.com/malsup/cycle2 // Definitions by: Donny Nadolny // Definitions: https://github.com/borisyankov/DefinitelyTyped @@ -140,4 +141,4 @@ declare module JQueryCycle2 { interface Transition { before(opts: Options, curr: Element, next: Element, fwd: boolean): void; } -} \ No newline at end of file +} diff --git a/jquery.dynatree/jquery.dynatree.d.ts b/jquery.dynatree/jquery.dynatree.d.ts index adf8b5399..c2dc0f928 100644 --- a/jquery.dynatree/jquery.dynatree.d.ts +++ b/jquery.dynatree/jquery.dynatree.d.ts @@ -1,6 +1,6 @@ // Type definitions for jquery.dynatree 1.2.5 // Project: http://code.google.com/p/dynatree/ -// Definitions by: https://github.com/fdecampredon +// Definitions by: François de Campredon // Definitions: https://github.com/borisyankov/DefinitelyTyped @@ -241,4 +241,4 @@ interface DynatreeNamespace { getNode(element: HTMLElement): DynaTreeNode; getPersistData(cookieId: string, cookieOpts: DynaTreeCookieOptions): any; version: number; -} \ No newline at end of file +} diff --git a/jquery.menuaim/jquery.menuaim.d.ts b/jquery.menuaim/jquery.menuaim.d.ts index 54215620a..86000419f 100644 --- a/jquery.menuaim/jquery.menuaim.d.ts +++ b/jquery.menuaim/jquery.menuaim.d.ts @@ -1,6 +1,6 @@ // Type definitions for jQuery-menu-aim // Project: https://github.com/kamens/jQuery-menu-aim -// Definitions by: Robert Fonseca-Ensor +// Definitions by: Robert Fonseca-Ensor // Definitions: https://github.com/borisyankov/DefinitelyTyped /// diff --git a/jquery.pnotify/jquery.pnotify.d.ts b/jquery.pnotify/jquery.pnotify.d.ts index d467a9999..73d0411d5 100644 --- a/jquery.pnotify/jquery.pnotify.d.ts +++ b/jquery.pnotify/jquery.pnotify.d.ts @@ -1,6 +1,6 @@ // Type definitions for jquery.pnotify 1.3.1 -// Project: https://github.com/sciactive/pnotify -// Definitions by: https://github.com/DavidSichau +// Project: https://github.com/sciactive/pnotify +// Definitions by: David Sichau // Definitions: https://github.com/borisyankov/DefinitelyTyped diff --git a/jquery.tagsmanager/jquery.tagsmanager.d.ts b/jquery.tagsmanager/jquery.tagsmanager.d.ts index ce03f2dab..4523751c4 100644 --- a/jquery.tagsmanager/jquery.tagsmanager.d.ts +++ b/jquery.tagsmanager/jquery.tagsmanager.d.ts @@ -1,6 +1,6 @@ // Type definitions for jQuery Tags Manager // Project: http://welldonethings.com/tags/manager -// Definitions by: https://github.com/vbortone +// Definitions by: Vincent Bortone // Definitions: https://github.com/borisyankov/DefinitelyTyped /// diff --git a/jquery.timepicker/jquery.timepicker.d.ts b/jquery.timepicker/jquery.timepicker.d.ts index a63e073bb..13a6d2e69 100644 --- a/jquery.timepicker/jquery.timepicker.d.ts +++ b/jquery.timepicker/jquery.timepicker.d.ts @@ -1,6 +1,6 @@ // Type definitions for jQuery UI Timepicker 0.3 // Project: http://fgelinas.com/code/timepicker/ -// Definitions by: https://github.com/anwarjaved +// Definitions by: Anwar Javed // Definitions: https://github.com/borisyankov/DefinitelyTyped /// diff --git a/jquery.ui.datetimepicker/jquery.ui.datetimepicker.d.ts b/jquery.ui.datetimepicker/jquery.ui.datetimepicker.d.ts index 9d452332b..4e592e728 100644 --- a/jquery.ui.datetimepicker/jquery.ui.datetimepicker.d.ts +++ b/jquery.ui.datetimepicker/jquery.ui.datetimepicker.d.ts @@ -1,7 +1,6 @@ -// Type definitions for jQuery UI DateTimePicker 0.3 Addon -// +// Type definitions for jQuery UI DateTimePicker 0.3 // Project: http://trentrichardson.com/examples/timepicker/ -// Definitions by: https://github.com/dougajmcdonald +// Definitions by: dougajmcdonald // Definitions: https://github.com/borisyankov/DefinitelyTyped /// diff --git a/jquery.validation/jquery.validation.d.ts b/jquery.validation/jquery.validation.d.ts index 585fb484f..f66edadab 100644 --- a/jquery.validation/jquery.validation.d.ts +++ b/jquery.validation/jquery.validation.d.ts @@ -1,6 +1,6 @@ // Type definitions for jquery.validation 1.11.1 // Project: http://jqueryvalidation.org/ -// Definitions by: https://github.com/fdecampredon , https://github.com/johnnyreilly +// Definitions by: François de Campredon , Johj Reilly // Definitions: https://github.com/borisyankov/DefinitelyTyped diff --git a/jquery.watermark/jquery.watermark.d.ts b/jquery.watermark/jquery.watermark.d.ts index fd233ee67..cb746bee6 100644 --- a/jquery.watermark/jquery.watermark.d.ts +++ b/jquery.watermark/jquery.watermark.d.ts @@ -1,6 +1,6 @@ // Type definitions for Watermark plugin for jQuery 3.1 // Project: http://jquery-watermark.googlecode.com -// Definitions by: https://github.com/anwarjaved +// Definitions by: Anwar Javed // Definitions: https://github.com/borisyankov/DefinitelyTyped @@ -27,4 +27,4 @@ interface JQuery { interface JQueryStatic { watermark: Watermark; -} \ No newline at end of file +} diff --git a/jquery/jquery.d.ts b/jquery/jquery.d.ts index 6fff3fab6..6b4ebb68a 100644 --- a/jquery/jquery.d.ts +++ b/jquery/jquery.d.ts @@ -1,6 +1,6 @@ // Type definitions for jQuery 1.10.x / 2.0.x // Project: http://jquery.com/ -// Definitions by: Boris Yankov , Christian Hoffmeister , Steve Fenton, Diullei Gomes , Tass Iliopoulos , Jason Swearingen, Sean Hill , Guus Goossens , Kelly Summerlin , Basarat Ali Syed , Nicholas Wolverson , Derek Cicerone , Andrew Gaspar , James Harrison Fisher , Seikichi Kondo , Benjamin Jackman , Poul Sorensen , Josh Strobl , John Reilly +// Definitions by: Boris Yankov , Christian Hoffmeister , Steve Fenton , Diullei Gomes , Tass Iliopoulos , Jason Swearingen , Sean Hill , Guus Goossens , Kelly Summerlin , Basarat Ali Syed , Nicholas Wolverson , Derek Cicerone , Andrew Gaspar , James Harrison Fisher , Seikichi Kondo , Benjamin Jackman , Poul Sorensen , Josh Strobl , John Reilly // Definitions: https://github.com/borisyankov/DefinitelyTyped /* ***************************************************************************** diff --git a/js-fixtures/fixtures.d.ts b/js-fixtures/fixtures.d.ts index 92bd548e0..4adb6f378 100644 --- a/js-fixtures/fixtures.d.ts +++ b/js-fixtures/fixtures.d.ts @@ -1,7 +1,7 @@ // Type definitions for js-fixtures 1.2.0 // Project: https://github.com/badunk/js-fixtures // Definitions by: Kazi Manzur Rashid -// DefinitelyTyped: https://github.com/borisyankov/DefinitelyTyped +// Definitions: https://github.com/borisyankov/DefinitelyTyped interface Fixtures { path: string; @@ -18,4 +18,4 @@ interface Fixtures { cleanUp(): void; } -declare var fixtures: Fixtures; \ No newline at end of file +declare var fixtures: Fixtures; diff --git a/js-signals/js-signals.d.ts b/js-signals/js-signals.d.ts index 4d7d33344..c64c6db2a 100644 --- a/js-signals/js-signals.d.ts +++ b/js-signals/js-signals.d.ts @@ -1,7 +1,7 @@ // Type definitions for JS-Signals // Project: http://millermedeiros.github.io/js-signals/ // Definitions by: Diullei Gomes -// DefinitelyTyped: https://github.com/borisyankov/DefinitelyTyped +// Definitions: https://github.com/borisyankov/DefinitelyTyped interface SignalBinding { active: boolean; diff --git a/js-url/js-url.d.ts b/js-url/js-url.d.ts index ff974f15e..e5df9c246 100644 --- a/js-url/js-url.d.ts +++ b/js-url/js-url.d.ts @@ -1,4 +1,4 @@ -// Type definitions for url() v1.8.6 +// Type definitions for url v1.8.6 // Project: https://github.com/websanova/js-url // Definitions by: MIZUNE Pine // Definitions: https://github.com/borisyankov/DefinitelyTyped diff --git a/jsplumb/jquery.jsPlumb.d.ts b/jsplumb/jquery.jsPlumb.d.ts index ffa26eea8..39d5bf869 100644 --- a/jsplumb/jquery.jsPlumb.d.ts +++ b/jsplumb/jquery.jsPlumb.d.ts @@ -1,4 +1,4 @@ -// Type definitions for jsPlumb 1.3.16 jQuery adapter. +// Type definitions for jsPlumb 1.3.16 jQuery adapter // Project: http://jsplumb.org // Definitions by: Steve Shearn // Definitions: https://github.com/borisyankov/DefinitelyTyped @@ -19,26 +19,26 @@ interface jsPlumbInstance { addEndpoint(ep: string): any; removeClass(el: any, clazz: string): void; hasClass(el: any, clazz: string): void; - draggable(el: string, options?: DragOptions): jsPlumbInstance; - draggable(ids: string[], options?: DragOptions): jsPlumbInstance; + draggable(el: string, options?: DragOptions): jsPlumbInstance; + draggable(ids: string[], options?: DragOptions): jsPlumbInstance; connect(connection: ConnectParams, referenceParams?: ConnectParams): Connection; makeSource(el: string, options: SourceOptions): void; makeTarget(el: string, options: TargetOptions): void; repaintEverything(): void; detachEveryConnection(): void; detachAllConnections(el: string): void; - removeAllEndpoints(el: string, recurse?: boolean): jsPlumbInstance; - removeAllEndpoints(el: Element, recurse?: boolean): jsPlumbInstance; + removeAllEndpoints(el: string, recurse?: boolean): jsPlumbInstance; + removeAllEndpoints(el: Element, recurse?: boolean): jsPlumbInstance; select(params: SelectParams): Connections; getConnections(options?: any, flat?: any): any[]; - deleteEndpoint(uuid: string, doNotRepaintAfterwards?: boolean): jsPlumbInstance; - deleteEndpoint(endpoint: Endpoint, doNotRepaintAfterwards?: boolean): jsPlumbInstance; - repaint(el: string): jsPlumbInstance; - repaint(el: Element): jsPlumbInstance; - - SVG: string; - CANVAS: string; - VML: string; + deleteEndpoint(uuid: string, doNotRepaintAfterwards?: boolean): jsPlumbInstance; + deleteEndpoint(endpoint: Endpoint, doNotRepaintAfterwards?: boolean): jsPlumbInstance; + repaint(el: string): jsPlumbInstance; + repaint(el: Element): jsPlumbInstance; + + SVG: string; + CANVAS: string; + VML: string; } interface Defaults { @@ -48,8 +48,8 @@ interface Defaults { ConnectionsDetachable?: boolean; ReattachConnections?: boolean; ConnectionOverlays?: any[][]; - Container?: any; // string(selector or id) or element - DragOptions?: DragOptions; + Container?: any; // string(selector or id) or element + DragOptions?: DragOptions; } interface PaintStyle { @@ -76,8 +76,8 @@ interface Connections { } interface ConnectParams { - source?: any; // string, element or endpoint - target?: any; // string, element or endpoint + source?: any; // string, element or endpoint + target?: any; // string, element or endpoint detachable?: boolean; deleteEndpointsOnDetach?: boolean; endPoint?: string; @@ -118,11 +118,11 @@ interface SelectParams { target: string; } -interface Connection { - setDetachable(detachable: boolean): void; - setParameter(name: string, value: T): void; - endpoints: Endpoint[]; -} - -interface Endpoint { -} \ No newline at end of file +interface Connection { + setDetachable(detachable: boolean): void; + setParameter(name: string, value: T): void; + endpoints: Endpoint[]; +} + +interface Endpoint { +} diff --git a/jsrender/jsrender.d.ts b/jsrender/jsrender.d.ts index 8cdfa13a1..755b17f93 100644 --- a/jsrender/jsrender.d.ts +++ b/jsrender/jsrender.d.ts @@ -1,6 +1,6 @@ // Type definitions for JsRender // Project: http://www.jsviews.com/#jsrender -// Definitions by: https://github.com/zakki +// Definitions by: Kensuke Matsuzaki // Definitions: https://github.com/borisyankov/DefinitelyTyped /// diff --git a/karma-jasmine/karma-jasmine.d.ts b/karma-jasmine/karma-jasmine.d.ts index 92b5e962d..e4cdc5a81 100644 --- a/karma-jasmine/karma-jasmine.d.ts +++ b/karma-jasmine/karma-jasmine.d.ts @@ -1,6 +1,6 @@ // Type definitions for karma-jasmine plugin // Project: https://github.com/karma-runner/karma-jasmine -// Definitions by: Michel Salib +// Definitions by: Michel Salib // Definitions: https://github.com/borisyankov/DefinitelyTyped /// diff --git a/kineticjs/kineticjs.d.ts b/kineticjs/kineticjs.d.ts index bbe2d68e8..ecfbbae1f 100644 --- a/kineticjs/kineticjs.d.ts +++ b/kineticjs/kineticjs.d.ts @@ -1,7 +1,7 @@ // Type definitions for KineticJS // Project: http://kineticjs.com/ // Definitions by: Basarat Ali Syed , Ralph de Ruijter -// DefinitelyTyped: https://github.com/borisyankov/DefinitelyTyped +// Definitions: https://github.com/borisyankov/DefinitelyTyped declare module Kinetic { @@ -544,4 +544,4 @@ declare module Kinetic { width: number; height: number; } -} \ No newline at end of file +} diff --git a/knockout.editables/ko.editables.d.ts b/knockout.editables/ko.editables.d.ts index b6da1f13f..8167b3eaf 100644 --- a/knockout.editables/ko.editables.d.ts +++ b/knockout.editables/ko.editables.d.ts @@ -1,5 +1,5 @@ // Type definitions for knockout-editables 0.9 -// Project:http://romanych.github.com/ko.editables/ +// Project: http://romanych.github.com/ko.editables/ // Definitions by: Boris Yankov // Definitions: https://github.com/borisyankov/DefinitelyTyped diff --git a/knockout.mapper/knockout.mapper.d.ts b/knockout.mapper/knockout.mapper.d.ts index 8052e4cc7..30476f746 100644 --- a/knockout.mapper/knockout.mapper.d.ts +++ b/knockout.mapper/knockout.mapper.d.ts @@ -1,7 +1,7 @@ // Type definitions for Knockout.Mapper // Project: https://github.com/LucasLorentz/knockout.mapper // Definitions by: Brandon Meyer -// Definitions https://github.com/borisyankov/DefinitelyTyped +// Definitions: https://github.com/borisyankov/DefinitelyTyped /// @@ -12,4 +12,4 @@ interface KnockoutMapper { interface KnockoutStatic { mapper: KnockoutMapper; -} \ No newline at end of file +} diff --git a/knockout.mapping/knockout.mapping.d.ts b/knockout.mapping/knockout.mapping.d.ts index e8ffc807e..2c8af4785 100644 --- a/knockout.mapping/knockout.mapping.d.ts +++ b/knockout.mapping/knockout.mapping.d.ts @@ -1,7 +1,7 @@ // Type definitions for Knockout.Mapping 2.0 // Project: https://github.com/SteveSanderson/knockout.mapping // Definitions by: Boris Yankov -// Definitions https://github.com/borisyankov/DefinitelyTyped +// Definitions: https://github.com/borisyankov/DefinitelyTyped /// diff --git a/kolite/kolite.d.ts b/kolite/kolite.d.ts index 4aa55fd81..6310fcad4 100644 --- a/kolite/kolite.d.ts +++ b/kolite/kolite.d.ts @@ -1,7 +1,7 @@ // Type definitions for KoLite 1.1 // Project: https://github.com/CodeSeven/kolite // Definitions by: Boris Yankov -// Definitions https://github.com/borisyankov/DefinitelyTyped +// Definitions: https://github.com/borisyankov/DefinitelyTyped /// @@ -78,4 +78,4 @@ interface KnockoutUtils { interface KnockoutBindingHandlers { command: KnockoutBindingHandler; -} \ No newline at end of file +} diff --git a/linq/linq.3.0.3-Beta4.d.ts b/linq/linq.3.0.3-Beta4.d.ts index d75d0982b..ff550d675 100755 --- a/linq/linq.3.0.3-Beta4.d.ts +++ b/linq/linq.3.0.3-Beta4.d.ts @@ -1,6 +1,6 @@ -// Type definitions for linq.js, ver 3.0.3-Beta4 +// Type definitions for linq.js v3.0.3-Beta4 // Project: http://linqjs.codeplex.com/ -// Definitions by: neuecc (http://www.codeplex.com/site/users/view/neuecc) +// Definitions by: neuecc // Definitions: https://github.com/borisyankov/DefinitelyTyped declare module linqjs { diff --git a/linq/linq.d.ts b/linq/linq.d.ts index 960b20a90..d155ba806 100644 --- a/linq/linq.d.ts +++ b/linq/linq.d.ts @@ -1,6 +1,6 @@ // Type definitions for linq.js 2.2 // Project: http://linqjs.codeplex.com/ -// Definitions by: Marcin Najder +// Definitions by: Marcin Najder // Definitions: https://github.com/borisyankov/DefinitelyTyped // todo: jQuery plugin, RxJS Binding diff --git a/linq/linq.jquery.d.ts b/linq/linq.jquery.d.ts index c4b874bae..c79708f66 100755 --- a/linq/linq.jquery.d.ts +++ b/linq/linq.jquery.d.ts @@ -1,6 +1,6 @@ // Type definitions for linq.jquery (from linq.js) // Project: http://linqjs.codeplex.com/ -// Definitions by: neuecc (http://www.codeplex.com/site/users/view/neuecc) +// Definitions by: neuecc // Definitions: https://github.com/borisyankov/DefinitelyTyped /// diff --git a/marionette/marionette.d.ts b/marionette/marionette.d.ts index 7a52d7453..96672ca3f 100644 --- a/marionette/marionette.d.ts +++ b/marionette/marionette.d.ts @@ -1,8 +1,6 @@ // Type definitions for Marionette // Project: https://github.com/marionettejs/ -// Definitions by: Zeeshan Hamid -// Definitions by: Natan Vivo -// Definitions by: Sven Tschui +// Definitions by: Zeeshan Hamid , Natan Vivo , Sven Tschui // Definitions: https://github.com/borisyankov/DefinitelyTyped /// diff --git a/mathjax/mathjax.d.ts b/mathjax/mathjax.d.ts index 08b1950bf..65c10e3ad 100644 --- a/mathjax/mathjax.d.ts +++ b/mathjax/mathjax.d.ts @@ -1,7 +1,7 @@ // Type definitions for MathJax // Project: https://github.com/mathjax/MathJax // Definitions by: Roland Zwaga -// DefinitelyTyped: https://github.com/borisyankov/DefinitelyTyped +// Definitions: https://github.com/borisyankov/DefinitelyTyped // These are slightly preliminary and can use some more strong typing here and there. Please feel free to improve. declare var MathJax:jax.IMathJax; @@ -1697,4 +1697,4 @@ declare module jax { /*Indicates whether the mathematics has changed so that its output needs to be updated.*/ needsUpdate():boolean; } -} \ No newline at end of file +} diff --git a/microsoft-live-connect/microsoft-live-connect.d.ts b/microsoft-live-connect/microsoft-live-connect.d.ts index 860a31df3..d012f3195 100644 --- a/microsoft-live-connect/microsoft-live-connect.d.ts +++ b/microsoft-live-connect/microsoft-live-connect.d.ts @@ -1,10 +1,11 @@ -/// -/// -// Type definitions for Microsoft Live Connect v5.0. +// Type definitions for Microsoft Live Connect v5.0 // Project: http://msdn.microsoft.com/en-us/library/live/hh243643.aspx // Definitions by: John Vilk // Definitions: https://github.com/borisyankov/DefinitelyTyped +/// +/// + declare module Microsoft.Live { //#region REST Object Information @@ -633,8 +634,8 @@ declare module Microsoft.Live { /** * A value that specifies whether the event is publicly visible. Valid * values are: - * - publicthe event is visible to anyone who can view the calendar. - * - private"the event is visible only to the event owner. + * - public�the event is visible to anyone who can view the calendar. + * - private"�the event is visible only to the event owner. * @default "public" */ visibility: string; @@ -695,8 +696,8 @@ declare module Microsoft.Live { /** * A value that specifies whether the event is publicly visible. Valid * values are: - * - publicthe event is visible to anyone who can view the calendar. - * - private"the event is visible only to the event owner. + * - public�the event is visible to anyone who can view the calendar. + * - private"�the event is visible only to the event owner. * @default "public" */ visibility?: string; @@ -767,8 +768,8 @@ declare module Microsoft.Live { /** * A value that specifies whether the event is publicly visible. Valid * values are: - * - publicthe event is visible to anyone who can view the calendar. - * - private"the event is visible only to the event owner. + * - public�the event is visible to anyone who can view the calendar. + * - private"�the event is visible only to the event owner. * @default "public" */ visibility: string; @@ -1041,10 +1042,10 @@ declare module Microsoft.Live { source: string; /** * The type of this image of this particular size. Valid values are: - * full (maximum size: 2048 2048 pixels) - * - normal (maximum size 800 800 pixels) - * - album (maximum size 176 176 pixels) - * - small (maximum size 96 96 pixels) + * full (maximum size: 2048 � 2048 pixels) + * - normal (maximum size 800 � 800 pixels) + * - album (maximum size 176 � 176 pixels) + * - small (maximum size 96 � 96 pixels) */ type: string; } diff --git a/mixpanel/mixpanel.d.ts b/mixpanel/mixpanel.d.ts index 9d1ef9527..03596a8aa 100644 --- a/mixpanel/mixpanel.d.ts +++ b/mixpanel/mixpanel.d.ts @@ -1,5 +1,6 @@ // Type definitions for Mixpanel -// Project: https://mixpanel.com/ (https://github.com/mixpanel/mixpanel-js) +// Project: https://mixpanel.com/ +// https://github.com/mixpanel/mixpanel-js // Definitions by: Knut Eirik Leira Hjelle // Definitions: https://github.com/borisyankov/DefinitelyTyped @@ -68,4 +69,4 @@ declare module Mixpanel } } -declare var mixpanel:Mixpanel; \ No newline at end of file +declare var mixpanel:Mixpanel; diff --git a/mocha/mocha.d.ts b/mocha/mocha.d.ts index ce0f15b38..64255a7ba 100644 --- a/mocha/mocha.d.ts +++ b/mocha/mocha.d.ts @@ -1,7 +1,7 @@ // Type definitions for mocha 1.17.1 // Project: http://visionmedia.github.io/mocha/ -// Definitions by: Kazi Manzur Rashid and otiai10 -// DefinitelyTyped: https://github.com/borisyankov/DefinitelyTyped +// Definitions by: Kazi Manzur Rashid , otiai10 +// Definitions: https://github.com/borisyankov/DefinitelyTyped interface Mocha { // Setup mocha with the given setting options. diff --git a/modernizr/modernizr.d.ts b/modernizr/modernizr.d.ts index 686f40e71..5827bbf9e 100644 --- a/modernizr/modernizr.d.ts +++ b/modernizr/modernizr.d.ts @@ -1,6 +1,6 @@ // Type definitions for Modernizr 2.6.2 // Project: http://modernizr.com/ -// Definitions by: Boris Yankov and Theodore Brown +// Definitions by: Boris Yankov , Theodore Brown // Definitions: https://github.com/borisyankov/DefinitelyTyped diff --git a/moment/moment.d.ts b/moment/moment.d.ts index f997026fd..879bf6eae 100644 --- a/moment/moment.d.ts +++ b/moment/moment.d.ts @@ -1,9 +1,7 @@ // Type definitions for Moment.js 2.5.0 // Project: https://github.com/timrwood/moment -// Definitions by: Michael Lakerveld -// Definitions by: Aaron King (2.4.0) -// Definitions by: Hiroki Horiuchi (2.5.0) -// DefinitelyTyped: https://github.com/borisyankov/DefinitelyTyped +// Definitions by: Michael Lakerveld , Aaron King , Hiroki Horiuchi +// Definitions: https://github.com/borisyankov/DefinitelyTyped interface MomentInput { years?: number; diff --git a/mousetrap/mousetrap.d.ts b/mousetrap/mousetrap.d.ts index d2ae42aa6..dee352b42 100644 --- a/mousetrap/mousetrap.d.ts +++ b/mousetrap/mousetrap.d.ts @@ -1,6 +1,6 @@ // Type definitions for Mousetrap 1.2.2 // Project: http://craig.is/killing/mice -// Definitions by: Dániel Tar https://github.com/qcz +// Definitions by: Dániel Tar // Definitions: https://github.com/borisyankov/DefinitelyTyped interface ExtendedKeyboardEvent extends KeyboardEvent { diff --git a/ng-grid/ng-grid.d.ts b/ng-grid/ng-grid.d.ts index 7aa8f8716..3bb3b2daa 100644 --- a/ng-grid/ng-grid.d.ts +++ b/ng-grid/ng-grid.d.ts @@ -1,7 +1,7 @@ // Type definitions for ng-grid // Project: http://angular-ui.github.io/ng-grid/ -// Definitions by: Ken Smith and Roland Zwaga and Kent Cooper -// DefinitelyTyped: https://github.com/borisyankov/DefinitelyTyped +// Definitions by: Ken Smith , Roland Zwaga , Kent Cooper +// Definitions: https://github.com/borisyankov/DefinitelyTyped // These are very definitely preliminary. Please feel free to improve. diff --git a/node-ffi/node-ffi-buffer.d.ts b/node-ffi/node-ffi-buffer.d.ts new file mode 100644 index 000000000..5203a2d9e --- /dev/null +++ b/node-ffi/node-ffi-buffer.d.ts @@ -0,0 +1,59 @@ +// DefinitelyTyped: partial + +interface Buffer { + /** Shorthand for `ref.address`. */ + address(): number; + /** Shorthand for `ref.deref`. */ + deref(): any; + /** Shorthand for `ref.isNull`. */ + isNull(): boolean; + /** Shorthand for `ref.readCString`. */ + readCString(offset?: number): string; + /** Shorthand for `ref.readInt64BE`. */ + readInt64BE(offset?: number): string; + /** Shorthand for `ref.readInt64LE`. */ + readInt64LE(offset?: number): string; + /** Shorthand for `ref.readObject`. */ + readObject(offset?: number): string; + /** Shorthand for `ref.readPointer`. */ + readPointer(offset?: number): string; + /** Shorthand for `ref.readUInt64BE`. */ + readUInt64BE(offset?: number): string; + /** Shorthand for `ref.readUInt64LE`. */ + readUInt64LE(offset?: number): string; + /** Shorthand for `ref.ref`. */ + ref(): Buffer; + /** Shorthand for `ref.reinterpret`. */ + reinterpret(size: number, offset?: number): Buffer; + /** Shorthand for `ref.reinterpretUntilZeros`. */ + reinterpretUntilZeros(size: number, offset?: number): Buffer; + /** Shorthand for `ref.writeCString`. */ + writeCString(offset: number, string: string, encoding?: string): void; + /** Shorthand for `ref.writeInt64BE`. */ + writeInt64BE(offset: number, input: number): any; + /** Shorthand for `ref.writeInt64BE`. */ + writeInt64BE(offset: number, input: string): any; + /** Shorthand for `ref.writeInt64LE`. */ + writeInt64LE(offset: number, input: number): any; + /** Shorthand for `ref.writeInt64LE`. */ + writeInt64LE(offset: number, input: string): any; + /** Shorthand for `ref.writeObject`. */ + writeObject(offset: number, object: Object): void; + /** Shorthand for `ref.writePointer`. */ + writePointer(offset: number, pointer: Buffer): void; + /** Shorthand for `ref.writeUInt64BE`. */ + writeUInt64BE(offset: number, input: number): any; + /** Shorthand for `ref.writeUInt64BE`. */ + writeUInt64BE(offset: number, input: string): any; + /** Shorthand for `ref.writeUInt64LE`. */ + writeUInt64LE(offset: number, input: number): any; + /** Shorthand for `ref.writeUInt64LE`. */ + writeUInt64LE(offset: number, input: string): any; + + /** + * Generate string for inspecting. + * String includes the hex-encoded memory address of the Buffer instance. + * @override + */ + inspect(): string; +} diff --git a/node-ffi/node-ffi-tests.ts b/node-ffi/node-ffi-tests.ts index 383470503..ff9698bfd 100644 --- a/node-ffi/node-ffi-tests.ts +++ b/node-ffi/node-ffi-tests.ts @@ -1,5 +1,10 @@ /// +/// +/// +/// +/// + import ffi = require('ffi'); import ref = require('ref'); import Struct = require('ref-struct'); diff --git a/node-ffi/node-ffi.d.ts b/node-ffi/node-ffi.d.ts index e5ee74621..49d6069d4 100644 --- a/node-ffi/node-ffi.d.ts +++ b/node-ffi/node-ffi.d.ts @@ -1,9 +1,12 @@ -// Type definitions for node-ffi, ref, ref-array, ref-struct and ref-union +// Type definitions for node-ffi // Project: https://github.com/rbranson/node-ffi // Definitions by: Paul Loyd // Definitions: https://github.com/borisyankov/DefinitelyTyped /// +/// +/// +/// declare module "ffi" { import ref = require('ref'); @@ -190,405 +193,3 @@ declare module "ffi" { uint32: ref.Type; short: ref.Type; }; } - -declare module "ref" { - export interface Type { - /** The size in bytes required to hold this datatype. */ - size: number; - /** The current level of indirection of the buffer. */ - indirection: number; - /** To invoke when `ref.get` is invoked on a buffer of this type. */ - get(buffer: Buffer, offset: number): any; - /** To invoke when `ref.set` is invoked on a buffer of this type. */ - set(buffer: Buffer, offset: number, value: any): void; - /** The name to use during debugging for this datatype. */ - name?: string; - /** The alignment of this datatype when placed inside a struct. */ - alignment?: number; - } - - /** A Buffer that references the C NULL pointer. */ - export var NULL: Buffer; - /** A pointer-sized buffer pointing to NULL. */ - export var NULL_POINTER: Buffer; - /** Get the memory address of buffer. */ - export function address(buffer: Buffer): number; - /** Allocate the memory with the given value written to it. */ - export function alloc(type: Type, value?: any): Buffer; - /** Allocate the memory with the given value written to it. */ - export function alloc(type: string, value?: any): Buffer; - - /** - * Allocate the memory with the given string written to it with the given - * encoding (defaults to utf8). The buffer is 1 byte longer than the - * string itself, and is NULL terminated. - */ - export function allocCString(string: string, encoding?: string): Buffer; - - /** Coerce a type.*/ - export function coerceType(type: Type): Type; - /** Coerce a type. String are looked up from the ref.types object. */ - export function coerceType(type: string): Type; - - /** - * Get value after dereferencing buffer. - * That is, first it checks the indirection count of buffer's type, and - * if it's greater than 1 then it merely returns another Buffer, but with - * one level less indirection. - */ - export function deref(buffer: Buffer): any; - - /** Create clone of the type, with decremented indirection level by 1. */ - export function derefType(type: Type): Type; - /** Create clone of the type, with decremented indirection level by 1. */ - export function derefType(type: string): Type; - /** Represents the native endianness of the processor ("LE" or "BE"). */ - export var endianness: string; - /** Check the indirection level and return a dereferenced when necessary. */ - export function get(buffer: Buffer, offset?: number, type?: Type): any; - /** Check the indirection level and return a dereferenced when necessary. */ - export function get(buffer: Buffer, offset?: number, type?: string): any; - /** Get type of the buffer. Create a default type when none exists. */ - export function getType(buffer: Buffer): Type; - /** Check the NULL. */ - export function isNull(buffer: Buffer): boolean; - /** Read C string until the first NULL. */ - export function readCString(buffer: Buffer, offset?: number): string; - - /** - * Read a big-endian signed 64-bit int. - * If there is losing precision, then return a string, otherwise a number. - * @return {number|string} - */ - export function readInt64BE(buffer: Buffer, offset?: number): any; - - /** - * Read a little-endian signed 64-bit int. - * If there is losing precision, then return a string, otherwise a number. - * @return {number|string} - */ - export function readInt64LE(buffer: Buffer, offset?: number): any; - - /** Read a JS Object that has previously been written. */ - export function readObject(buffer: Buffer, offset?: number): Object; - /** Read data from the pointer. */ - export function readPointer(buffer: Buffer, offset?: number, - length?: number): Buffer; - /** - * Read a big-endian unsigned 64-bit int. - * If there is losing precision, then return a string, otherwise a number. - * @return {number|string} - */ - export function readUInt64BE(buffer: Buffer, offset?: number): any; - - /** - * Read a little-endian unsigned 64-bit int. - * If there is losing precision, then return a string, otherwise a number. - * @return {number|string} - */ - export function readUInt64LE(buffer: Buffer, offset?: number): any; - - /** Create pointer to buffer. */ - export function ref(buffer: Buffer): Buffer; - /** Create clone of the type, with incremented indirection level by 1. */ - export function refType(type: Type): Type; - /** Create clone of the type, with incremented indirection level by 1. */ - export function refType(type: string): Type; - - /** - * Create buffer with the specified size, with the same address as source. - * This function "attaches" source to the returned buffer to prevent it from - * being garbage collected. - */ - export function reinterpret(buffer: Buffer, size: number, - offset?: number): Buffer; - /** - * Scan past the boundary of the buffer's length until it finds size number - * of aligned NULL bytes. - */ - export function reinterpretUntilZeros(buffer: Buffer, size: number, - offset?: number): Buffer; - - /** Write pointer if the indirection is 1, otherwise write value. */ - export function set(buffer: Buffer, offset: number, value: any, type?: Type): void; - /** Write pointer if the indirection is 1, otherwise write value. */ - export function set(buffer: Buffer, offset: number, value: any, type?: string): void; - /** Write the string as a NULL terminated. Default encoding is utf8. */ - export function writeCString(buffer: Buffer, offset: number, - string: string, encoding?: string): void; - /** Write a big-endian signed 64-bit int. */ - export function writeInt64BE(buffer: Buffer, offset: number, input: number): void; - /** Write a big-endian signed 64-bit int. */ - export function writeInt64BE(buffer: Buffer, offset: number, input: string): void; - /** Write a little-endian signed 64-bit int. */ - export function writeInt64LE(buffer: Buffer, offset: number, input: number): void; - /** Write a little-endian signed 64-bit int. */ - export function writeInt64LE(buffer: Buffer, offset: number, input: string): void; - - /** - * Write the JS Object. This function "attaches" object to buffer to prevent - * it from being garbage collected. - */ - export function writeObject(buffer: Buffer, offset: number, object: Object): void; - - /** - * Write the memory address of pointer to buffer at the specified offset. This - * function "attaches" object to buffer to prevent it from being garbage collected. - */ - export function writePointer(buffer: Buffer, offset: number, - pointer: Buffer): void; - - /** Write a little-endian unsigned 64-bit int. */ - export function writeUInt64BE(buffer: Buffer, offset: number, input: number): void; - /** Write a little-endian unsigned 64-bit int. */ - export function writeUInt64BE(buffer: Buffer, offset: number, input: string): void; - - /** - * Attach object to buffer such. - * It prevents object from being garbage collected until buffer does. - */ - export function _attach(buffer: Buffer, object: Object): void; - - /** Same as ref.reinterpret, except that this version does not attach buffer. */ - export function _reinterpret(buffer: Buffer, size: number, - offset?: number): Buffer; - /** Same as ref.reinterpretUntilZeros, except that this version does not attach buffer. */ - export function _reinterpretUntilZeros(buffer: Buffer, size: number, - offset?: number): Buffer; - /** Same as ref.writePointer, except that this version does not attach pointer. */ - export function _writePointer(buffer: Buffer, offset: number, - pointer: Buffer): void; - /** Same as ref.writeObject, except that this version does not attach object. */ - export function _writeObject(buffer: Buffer, offset: number, object: Object): void; - - /** Default types. */ - export var types: { - void: Type; int64: Type; ushort: Type; - int: Type; uint64: Type; float: Type; - uint: Type; long: Type; double: Type; - int8: Type; ulong: Type; Object: Type; - uint8: Type; longlong: Type; CString: Type; - int16: Type; ulonglong: Type; bool: Type; - uint16: Type; char: Type; byte: Type; - int32: Type; uchar: Type; size_t: Type; - uint32: Type; short: Type; - }; -} - -interface Buffer { - /** Shorthand for `ref.address`. */ - address(): number; - /** Shorthand for `ref.deref`. */ - deref(): any; - /** Shorthand for `ref.isNull`. */ - isNull(): boolean; - /** Shorthand for `ref.readCString`. */ - readCString(offset?: number): string; - /** Shorthand for `ref.readInt64BE`. */ - readInt64BE(offset?: number): string; - /** Shorthand for `ref.readInt64LE`. */ - readInt64LE(offset?: number): string; - /** Shorthand for `ref.readObject`. */ - readObject(offset?: number): string; - /** Shorthand for `ref.readPointer`. */ - readPointer(offset?: number): string; - /** Shorthand for `ref.readUInt64BE`. */ - readUInt64BE(offset?: number): string; - /** Shorthand for `ref.readUInt64LE`. */ - readUInt64LE(offset?: number): string; - /** Shorthand for `ref.ref`. */ - ref(): Buffer; - /** Shorthand for `ref.reinterpret`. */ - reinterpret(size: number, offset?: number): Buffer; - /** Shorthand for `ref.reinterpretUntilZeros`. */ - reinterpretUntilZeros(size: number, offset?: number): Buffer; - /** Shorthand for `ref.writeCString`. */ - writeCString(offset: number, string: string, encoding?: string): void; - /** Shorthand for `ref.writeInt64BE`. */ - writeInt64BE(offset: number, input: number): any; - /** Shorthand for `ref.writeInt64BE`. */ - writeInt64BE(offset: number, input: string): any; - /** Shorthand for `ref.writeInt64LE`. */ - writeInt64LE(offset: number, input: number): any; - /** Shorthand for `ref.writeInt64LE`. */ - writeInt64LE(offset: number, input: string): any; - /** Shorthand for `ref.writeObject`. */ - writeObject(offset: number, object: Object): void; - /** Shorthand for `ref.writePointer`. */ - writePointer(offset: number, pointer: Buffer): void; - /** Shorthand for `ref.writeUInt64BE`. */ - writeUInt64BE(offset: number, input: number): any; - /** Shorthand for `ref.writeUInt64BE`. */ - writeUInt64BE(offset: number, input: string): any; - /** Shorthand for `ref.writeUInt64LE`. */ - writeUInt64LE(offset: number, input: number): any; - /** Shorthand for `ref.writeUInt64LE`. */ - writeUInt64LE(offset: number, input: string): any; - - /** - * Generate string for inspecting. - * String includes the hex-encoded memory address of the Buffer instance. - * @override - */ - inspect(): string; -} - -declare module "ref-array" { - import ref = require('ref'); - - interface ArrayType extends ref.Type { - BYTES_PER_ELEMENT: number; - fixedLength: number; - /** The reference to the base type. */ - type: ref.Type; - - /** - * Accepts a Buffer instance that should be an already-populated with data - * for the ArrayType. The "length" of the Array is determined by searching - * through the buffer's contents until an aligned NULL pointer is encountered. - */ - untilZeros(buffer: Buffer): { [i: number]: T; length: number; toArray(): T[]; - toJSON(): T[]; inspect(): string; buffer: Buffer; ref(): Buffer; }; - - new (length?: number): { [i: number]: T; length: number; toArray(): T[]; - toJSON(): T[]; inspect(): string; buffer: Buffer; ref(): Buffer; }; - new (data: number[], length?: number): { [i: number]: T; length: number; toArray(): T[]; - toJSON(): T[]; inspect(): string; buffer: Buffer; ref(): Buffer; }; - new (data: Buffer, length?: number): { [i: number]: T; length: number; toArray(): T[]; - toJSON(): T[]; inspect(): string; buffer: Buffer; ref(): Buffer; }; - (length?: number): { [i: number]: T; length: number; toArray(): T[]; - toJSON(): T[]; inspect(): string; buffer: Buffer; ref(): Buffer; }; - (data: number[], length?: number): { [i: number]: T; length: number; toArray(): T[]; - toJSON(): T[]; inspect(): string; buffer: Buffer; ref(): Buffer; }; - (data: Buffer, length?: number): { [i: number]: T; length: number; toArray(): T[]; - toJSON(): T[]; inspect(): string; buffer: Buffer; ref(): Buffer; }; - } - - /** - * The array type meta-constructor. - * The returned constructor's API is highly influenced by the WebGL - * TypedArray API. - */ - var ArrayType: { - new (type: ref.Type, length?: number): ArrayType; - new (type: string, length?: number): ArrayType; - (type: ref.Type, length?: number): ArrayType; - (type: string, length?: number): ArrayType; - }; - - export = ArrayType; -} - -declare module "ref-struct" { - import ref = require('ref'); - - /** - * This is the `constructor` of the Struct type that gets returned. - * - * Invoke it with `new` to create a new Buffer instance backing the struct. - * Pass it an existing Buffer instance to use that as the backing buffer. - * Pass in an Object containing the struct fields to auto-populate the - * struct with the data. - * - * @constructor - */ - interface StructType extends ref.Type { - /** Pass it an existing Buffer instance to use that as the backing buffer. */ - new (arg: Buffer, data?: {}): any; - new (data?: {}): any; - /** Pass it an existing Buffer instance to use that as the backing buffer. */ - (arg: Buffer, data?: {}): any; - (data?: {}): any; - - fields: {[key: string]: {type: ref.Type}}; - - /** - * Adds a new field to the struct instance with the given name and type. - * Note that this function will throw an Error if any instances of the struct - * type have already been created, therefore this function must be called at the - * beginning, before any instances are created. - */ - defineProperty(name: string, type: ref.Type): void; - - /** - * Adds a new field to the struct instance with the given name and type. - * Note that this function will throw an Error if any instances of the struct - * type have already been created, therefore this function must be called at the - * beginning, before any instances are created. - */ - defineProperty(name: string, type: string): void; - - /** - * Custom for struct type instances. - * @override - */ - toString(): string; - } - - /** The struct type meta-constructor. */ - var StructType: { - new (fields?: {}): StructType; - new (fields?: any[]): StructType; - (fields?: {}): StructType; - (fields?: any[]): StructType; - } - - export = StructType; -} - -declare module "ref-union" { - import ref = require('ref'); - - /** - * This is the `constructor` of the Struct type that gets returned. - * - * Invoke it with `new` to create a new Buffer instance backing the union. - * Pass it an existing Buffer instance to use that as the backing buffer. - * Pass in an Object containing the union fields to auto-populate the - * union with the data. - * - * @constructor - */ - interface UnionType extends ref.Type { - /** Pass it an existing Buffer instance to use that as the backing buffer. */ - new (arg: Buffer, data?: {}): any; - new (data?: {}): any; - /** Pass it an existing Buffer instance to use that as the backing buffer. */ - (arg: Buffer, data?: {}): any; - (data?: {}): any; - - fields: {[key: string]: {type: ref.Type}}; - - /** - * Adds a new field to the union instance with the given name and type. - * Note that this function will throw an Error if any instances of the union - * type have already been created, therefore this function must be called at the - * beginning, before any instances are created. - */ - defineProperty(name: string, type: ref.Type): void; - - /** - * Adds a new field to the union instance with the given name and type. - * Note that this function will throw an Error if any instances of the union - * type have already been created, therefore this function must be called at the - * beginning, before any instances are created. - */ - defineProperty(name: string, type: string): void; - - /** - * Custom for union type instances. - * @override - */ - toString(): string; - } - - /** The union type meta-constructor. */ - var UnionType: { - new (fields?: {}): UnionType; - new (fields?: any[]): UnionType; - (fields?: {}): UnionType; - (fields?: any[]): UnionType; - } - - export = UnionType; -} diff --git a/node/node-0.8.8.d.ts b/node/node-0.8.8.d.ts index 7a1abbae3..f236faa89 100644 --- a/node/node-0.8.8.d.ts +++ b/node/node-0.8.8.d.ts @@ -1,5 +1,6 @@ // Type definitions for Node.js v0.8.8 // Project: http://nodejs.org/ +// Definitions by: Microsoft TypeScript // Definitions: https://github.com/borisyankov/DefinitelyTyped /************************************************ diff --git a/node/node.d.ts b/node/node.d.ts index 56306c665..4eb3e5eae 100644 --- a/node/node.d.ts +++ b/node/node.d.ts @@ -1,5 +1,6 @@ // Type definitions for Node.js v0.10.1 // Project: http://nodejs.org/ +// Definitions by: Microsoft TypeScript , DefinitelyTyped // Definitions: https://github.com/borisyankov/DefinitelyTyped /************************************************ diff --git a/passport-facebook/passport-facebook.d.ts b/passport-facebook/passport-facebook.d.ts index 47c9b68bb..76a3041a9 100644 --- a/passport-facebook/passport-facebook.d.ts +++ b/passport-facebook/passport-facebook.d.ts @@ -1,5 +1,5 @@ // Type definitions for passport-facebook 1.0.3 -// Project: https://github.com/jaredhanson/passport-facebook +// Project: https://github.com/jaredhanson/passport-facebook // Definitions by: James Roland Cabresos // Definitions: https://github.com/borisyankov/DefinitelyTyped @@ -24,4 +24,4 @@ declare module 'passport-facebook' { name: string; authenticate:(req: express.Request, options?: Object) => void; } -} \ No newline at end of file +} diff --git a/passport/passport.d.ts b/passport/passport.d.ts index cd86228f6..6ce6089b7 100644 --- a/passport/passport.d.ts +++ b/passport/passport.d.ts @@ -1,7 +1,7 @@ // Type definitions for Passport v0.2.0 // Project: http://passportjs.org // Definitions by: Horiuchi_H -// DefinitelyTyped: https://github.com/borisyankov/DefinitelyTyped +// Definitions: https://github.com/borisyankov/DefinitelyTyped /// diff --git a/phantomjs/phantomjs.d.ts b/phantomjs/phantomjs.d.ts index 58e202ac8..3682024b6 100644 --- a/phantomjs/phantomjs.d.ts +++ b/phantomjs/phantomjs.d.ts @@ -1,6 +1,6 @@ // Type definitions for PhantomJS v1.9.0 API // Project: https://github.com/ariya/phantomjs/wiki/API-Reference -// Definitions by: Jed Hunsaker and Mike Keesey +// Definitions by: Jed Hunsaker , Mike Keesey // Definitions: https://github.com/borisyankov/DefinitelyTyped declare function require(module: string): any; diff --git a/promises-a-plus/promises-a-plus.d.ts b/promises-a-plus/promises-a-plus.d.ts index 7a3bee776..808995dc9 100644 --- a/promises-a-plus/promises-a-plus.d.ts +++ b/promises-a-plus/promises-a-plus.d.ts @@ -1,3 +1,8 @@ +// Type definitions for promises-a-plus +// Project: http://promisesaplus.com/ +// Definitions by: Igor Oleinikov +// Definitions: https://github.com/borisyankov/DefinitelyTyped + declare module PromisesAPlus { interface PromiseCtor { (resolver: (resolvePromise: (value: T) => void, rejectPromise: (reason: any) => void) => void): Thenable; diff --git a/pubsubjs/pubsub.d.ts b/pubsubjs/pubsub.d.ts index 40158c79b..e24c901a4 100644 --- a/pubsubjs/pubsub.d.ts +++ b/pubsubjs/pubsub.d.ts @@ -1,4 +1,4 @@ -// Type definitions for PubSubJS 1.3.5 +// Type definitions for PubSubJS 1.3.5 // Project: https://github.com/mroderick/PubSubJS // Definitions by: Boris Yankov // Definitions: https://github.com/borisyankov/DefinitelyTyped diff --git a/q-io/Q-io.d.ts b/q-io/Q-io.d.ts index 9c3963376..1e16e3c33 100644 --- a/q-io/Q-io.d.ts +++ b/q-io/Q-io.d.ts @@ -1,7 +1,7 @@ // Type definitions for Q-io -// Project:https://github.com/kriskowal/q-io -// Definitions by:Bart van der Schoor -// Definitions:https://github.com/borisyankov/DefinitelyTyped +// Project: https://github.com/kriskowal/q-io +// Definitions by: Bart van der Schoor +// Definitions: https://github.com/borisyankov/DefinitelyTyped /// /// diff --git a/q/Q.d.ts b/q/Q.d.ts index af3e8bea0..1d76edd1d 100644 --- a/q/Q.d.ts +++ b/q/Q.d.ts @@ -1,6 +1,6 @@ // Type definitions for Q // Project: https://github.com/kriskowal/q -// Definitions by: Barrie Nemetchek, Andrew Gaspar, John Reilly +// Definitions by: Barrie Nemetchek , Andrew Gaspar , John Reilly // Definitions: https://github.com/borisyankov/DefinitelyTyped /// diff --git a/qunit/qunit.d.ts b/qunit/qunit.d.ts index 68d0163b6..5628feaa6 100644 --- a/qunit/qunit.d.ts +++ b/qunit/qunit.d.ts @@ -1,7 +1,7 @@ // Type definitions for QUnit 1.10 // Project: http://qunitjs.com/ // Definitions by: Diullei Gomes -// DefinitelyTyped: https://github.com/borisyankov/DefinitelyTyped +// Definitions: https://github.com/borisyankov/DefinitelyTyped interface DoneCallbackObject { @@ -720,4 +720,4 @@ declare function equiv(a: any, b: any): any; declare var raises: any; /* QUNIT */ -declare var QUnit: QUnitStatic; \ No newline at end of file +declare var QUnit: QUnitStatic; diff --git a/raphael/raphael.d.ts b/raphael/raphael.d.ts index fc0b26292..e57aa3954 100644 --- a/raphael/raphael.d.ts +++ b/raphael/raphael.d.ts @@ -1,7 +1,7 @@ // Type definitions for Raphael 2.1 // Project: http://raphaeljs.com -// Definitions by: https://github.com/CheCoxshall -// DefinitelyTyped: https://github.com/borisyankov/DefinitelyTyped +// Definitions by: CheCoxshall +// Definitions: https://github.com/borisyankov/DefinitelyTyped interface BoundingBox { diff --git a/ref-array/ref-array.d.ts b/ref-array/ref-array.d.ts new file mode 100644 index 000000000..4066e0d65 --- /dev/null +++ b/ref-array/ref-array.d.ts @@ -0,0 +1,53 @@ +// Type definitions for ref-array +// Project: https://github.com/TooTallNate/ref-array +// Definitions by: Paul Loyd +// Definitions: https://github.com/borisyankov/DefinitelyTyped + +/// +/// + +declare module "ref-array" { + import ref = require('ref'); + + interface ArrayType extends ref.Type { + BYTES_PER_ELEMENT: number; + fixedLength: number; + /** The reference to the base type. */ + type: ref.Type; + + /** + * Accepts a Buffer instance that should be an already-populated with data + * for the ArrayType. The "length" of the Array is determined by searching + * through the buffer's contents until an aligned NULL pointer is encountered. + */ + untilZeros(buffer: Buffer): { [i: number]: T; length: number; toArray(): T[]; + toJSON(): T[]; inspect(): string; buffer: Buffer; ref(): Buffer; }; + + new (length?: number): { [i: number]: T; length: number; toArray(): T[]; + toJSON(): T[]; inspect(): string; buffer: Buffer; ref(): Buffer; }; + new (data: number[], length?: number): { [i: number]: T; length: number; toArray(): T[]; + toJSON(): T[]; inspect(): string; buffer: Buffer; ref(): Buffer; }; + new (data: Buffer, length?: number): { [i: number]: T; length: number; toArray(): T[]; + toJSON(): T[]; inspect(): string; buffer: Buffer; ref(): Buffer; }; + (length?: number): { [i: number]: T; length: number; toArray(): T[]; + toJSON(): T[]; inspect(): string; buffer: Buffer; ref(): Buffer; }; + (data: number[], length?: number): { [i: number]: T; length: number; toArray(): T[]; + toJSON(): T[]; inspect(): string; buffer: Buffer; ref(): Buffer; }; + (data: Buffer, length?: number): { [i: number]: T; length: number; toArray(): T[]; + toJSON(): T[]; inspect(): string; buffer: Buffer; ref(): Buffer; }; + } + + /** + * The array type meta-constructor. + * The returned constructor's API is highly influenced by the WebGL + * TypedArray API. + */ + var ArrayType: { + new (type: ref.Type, length?: number): ArrayType; + new (type: string, length?: number): ArrayType; + (type: ref.Type, length?: number): ArrayType; + (type: string, length?: number): ArrayType; + }; + +export = ArrayType; +} diff --git a/ref-struct/ref-struct.d.ts b/ref-struct/ref-struct.d.ts new file mode 100644 index 000000000..7c2019655 --- /dev/null +++ b/ref-struct/ref-struct.d.ts @@ -0,0 +1,64 @@ +// Type definitions for ref-union +// Project: https://github.com/TooTallNate/ref-struct +// Definitions by: Paul Loyd +// Definitions: https://github.com/borisyankov/DefinitelyTyped + +/// +/// + +declare module "ref-struct" { + import ref = require('ref'); + + /** + * This is the `constructor` of the Struct type that gets returned. + * + * Invoke it with `new` to create a new Buffer instance backing the struct. + * Pass it an existing Buffer instance to use that as the backing buffer. + * Pass in an Object containing the struct fields to auto-populate the + * struct with the data. + * + * @constructor + */ + interface StructType extends ref.Type { + /** Pass it an existing Buffer instance to use that as the backing buffer. */ + new (arg: Buffer, data?: {}): any; + new (data?: {}): any; + /** Pass it an existing Buffer instance to use that as the backing buffer. */ + (arg: Buffer, data?: {}): any; + (data?: {}): any; + + fields: {[key: string]: {type: ref.Type}}; + + /** + * Adds a new field to the struct instance with the given name and type. + * Note that this function will throw an Error if any instances of the struct + * type have already been created, therefore this function must be called at the + * beginning, before any instances are created. + */ + defineProperty(name: string, type: ref.Type): void; + + /** + * Adds a new field to the struct instance with the given name and type. + * Note that this function will throw an Error if any instances of the struct + * type have already been created, therefore this function must be called at the + * beginning, before any instances are created. + */ + defineProperty(name: string, type: string): void; + + /** + * Custom for struct type instances. + * @override + */ + toString(): string; + } + + /** The struct type meta-constructor. */ + var StructType: { + new (fields?: {}): StructType; + new (fields?: any[]): StructType; + (fields?: {}): StructType; + (fields?: any[]): StructType; + } + +export = StructType; +} diff --git a/ref-union/ref-union.d.ts b/ref-union/ref-union.d.ts new file mode 100644 index 000000000..23dbdae39 --- /dev/null +++ b/ref-union/ref-union.d.ts @@ -0,0 +1,64 @@ +// Type definitions for ref-union +// Project: https://github.com/TooTallNate/ref-union +// Definitions by: Paul Loyd +// Definitions: https://github.com/borisyankov/DefinitelyTyped + +/// +/// + +declare module "ref-union" { + import ref = require('ref'); + + /** + * This is the `constructor` of the Struct type that gets returned. + * + * Invoke it with `new` to create a new Buffer instance backing the union. + * Pass it an existing Buffer instance to use that as the backing buffer. + * Pass in an Object containing the union fields to auto-populate the + * union with the data. + * + * @constructor + */ + interface UnionType extends ref.Type { + /** Pass it an existing Buffer instance to use that as the backing buffer. */ + new (arg: Buffer, data?: {}): any; + new (data?: {}): any; + /** Pass it an existing Buffer instance to use that as the backing buffer. */ + (arg: Buffer, data?: {}): any; + (data?: {}): any; + + fields: {[key: string]: {type: ref.Type}}; + + /** + * Adds a new field to the union instance with the given name and type. + * Note that this function will throw an Error if any instances of the union + * type have already been created, therefore this function must be called at the + * beginning, before any instances are created. + */ + defineProperty(name: string, type: ref.Type): void; + + /** + * Adds a new field to the union instance with the given name and type. + * Note that this function will throw an Error if any instances of the union + * type have already been created, therefore this function must be called at the + * beginning, before any instances are created. + */ + defineProperty(name: string, type: string): void; + + /** + * Custom for union type instances. + * @override + */ + toString(): string; + } + + /** The union type meta-constructor. */ + var UnionType: { + new (fields?: {}): UnionType; + new (fields?: any[]): UnionType; + (fields?: {}): UnionType; + (fields?: any[]): UnionType; + } + +export = UnionType; +} diff --git a/ref/ref.d.ts b/ref/ref.d.ts new file mode 100644 index 000000000..86e7840be --- /dev/null +++ b/ref/ref.d.ts @@ -0,0 +1,190 @@ +// Type definitions for ref-union +// Project: https://github.com/TooTallNate/ref +// Definitions by: Paul Loyd +// Definitions: https://github.com/borisyankov/DefinitelyTyped + +/// + +declare module "ref" { + export interface Type { + /** The size in bytes required to hold this datatype. */ + size: number; + /** The current level of indirection of the buffer. */ + indirection: number; + /** To invoke when `ref.get` is invoked on a buffer of this type. */ + get(buffer: Buffer, offset: number): any; + /** To invoke when `ref.set` is invoked on a buffer of this type. */ + set(buffer: Buffer, offset: number, value: any): void; + /** The name to use during debugging for this datatype. */ + name?: string; + /** The alignment of this datatype when placed inside a struct. */ + alignment?: number; + } + + /** A Buffer that references the C NULL pointer. */ + export var NULL: Buffer; + /** A pointer-sized buffer pointing to NULL. */ + export var NULL_POINTER: Buffer; + /** Get the memory address of buffer. */ + export function address(buffer: Buffer): number; + /** Allocate the memory with the given value written to it. */ + export function alloc(type: Type, value?: any): Buffer; + /** Allocate the memory with the given value written to it. */ + export function alloc(type: string, value?: any): Buffer; + + /** + * Allocate the memory with the given string written to it with the given + * encoding (defaults to utf8). The buffer is 1 byte longer than the + * string itself, and is NULL terminated. + */ + export function allocCString(string: string, encoding?: string): Buffer; + + /** Coerce a type.*/ + export function coerceType(type: Type): Type; + /** Coerce a type. String are looked up from the ref.types object. */ + export function coerceType(type: string): Type; + + /** + * Get value after dereferencing buffer. + * That is, first it checks the indirection count of buffer's type, and + * if it's greater than 1 then it merely returns another Buffer, but with + * one level less indirection. + */ + export function deref(buffer: Buffer): any; + + /** Create clone of the type, with decremented indirection level by 1. */ + export function derefType(type: Type): Type; + /** Create clone of the type, with decremented indirection level by 1. */ + export function derefType(type: string): Type; + /** Represents the native endianness of the processor ("LE" or "BE"). */ + export var endianness: string; + /** Check the indirection level and return a dereferenced when necessary. */ + export function get(buffer: Buffer, offset?: number, type?: Type): any; + /** Check the indirection level and return a dereferenced when necessary. */ + export function get(buffer: Buffer, offset?: number, type?: string): any; + /** Get type of the buffer. Create a default type when none exists. */ + export function getType(buffer: Buffer): Type; + /** Check the NULL. */ + export function isNull(buffer: Buffer): boolean; + /** Read C string until the first NULL. */ + export function readCString(buffer: Buffer, offset?: number): string; + + /** + * Read a big-endian signed 64-bit int. + * If there is losing precision, then return a string, otherwise a number. + * @return {number|string} + */ + export function readInt64BE(buffer: Buffer, offset?: number): any; + + /** + * Read a little-endian signed 64-bit int. + * If there is losing precision, then return a string, otherwise a number. + * @return {number|string} + */ + export function readInt64LE(buffer: Buffer, offset?: number): any; + + /** Read a JS Object that has previously been written. */ + export function readObject(buffer: Buffer, offset?: number): Object; + /** Read data from the pointer. */ + export function readPointer(buffer: Buffer, offset?: number, + length?: number): Buffer; + /** + * Read a big-endian unsigned 64-bit int. + * If there is losing precision, then return a string, otherwise a number. + * @return {number|string} + */ + export function readUInt64BE(buffer: Buffer, offset?: number): any; + + /** + * Read a little-endian unsigned 64-bit int. + * If there is losing precision, then return a string, otherwise a number. + * @return {number|string} + */ + export function readUInt64LE(buffer: Buffer, offset?: number): any; + + /** Create pointer to buffer. */ + export function ref(buffer: Buffer): Buffer; + /** Create clone of the type, with incremented indirection level by 1. */ + export function refType(type: Type): Type; + /** Create clone of the type, with incremented indirection level by 1. */ + export function refType(type: string): Type; + + /** + * Create buffer with the specified size, with the same address as source. + * This function "attaches" source to the returned buffer to prevent it from + * being garbage collected. + */ + export function reinterpret(buffer: Buffer, size: number, + offset?: number): Buffer; + /** + * Scan past the boundary of the buffer's length until it finds size number + * of aligned NULL bytes. + */ + export function reinterpretUntilZeros(buffer: Buffer, size: number, + offset?: number): Buffer; + + /** Write pointer if the indirection is 1, otherwise write value. */ + export function set(buffer: Buffer, offset: number, value: any, type?: Type): void; + /** Write pointer if the indirection is 1, otherwise write value. */ + export function set(buffer: Buffer, offset: number, value: any, type?: string): void; + /** Write the string as a NULL terminated. Default encoding is utf8. */ + export function writeCString(buffer: Buffer, offset: number, + string: string, encoding?: string): void; + /** Write a big-endian signed 64-bit int. */ + export function writeInt64BE(buffer: Buffer, offset: number, input: number): void; + /** Write a big-endian signed 64-bit int. */ + export function writeInt64BE(buffer: Buffer, offset: number, input: string): void; + /** Write a little-endian signed 64-bit int. */ + export function writeInt64LE(buffer: Buffer, offset: number, input: number): void; + /** Write a little-endian signed 64-bit int. */ + export function writeInt64LE(buffer: Buffer, offset: number, input: string): void; + + /** + * Write the JS Object. This function "attaches" object to buffer to prevent + * it from being garbage collected. + */ + export function writeObject(buffer: Buffer, offset: number, object: Object): void; + + /** + * Write the memory address of pointer to buffer at the specified offset. This + * function "attaches" object to buffer to prevent it from being garbage collected. + */ + export function writePointer(buffer: Buffer, offset: number, + pointer: Buffer): void; + + /** Write a little-endian unsigned 64-bit int. */ + export function writeUInt64BE(buffer: Buffer, offset: number, input: number): void; + /** Write a little-endian unsigned 64-bit int. */ + export function writeUInt64BE(buffer: Buffer, offset: number, input: string): void; + + /** + * Attach object to buffer such. + * It prevents object from being garbage collected until buffer does. + */ + export function _attach(buffer: Buffer, object: Object): void; + + /** Same as ref.reinterpret, except that this version does not attach buffer. */ + export function _reinterpret(buffer: Buffer, size: number, + offset?: number): Buffer; + /** Same as ref.reinterpretUntilZeros, except that this version does not attach buffer. */ + export function _reinterpretUntilZeros(buffer: Buffer, size: number, + offset?: number): Buffer; + /** Same as ref.writePointer, except that this version does not attach pointer. */ + export function _writePointer(buffer: Buffer, offset: number, + pointer: Buffer): void; + /** Same as ref.writeObject, except that this version does not attach object. */ + export function _writeObject(buffer: Buffer, offset: number, object: Object): void; + + /** Default types. */ + export var types: { + void: Type; int64: Type; ushort: Type; + int: Type; uint64: Type; float: Type; + uint: Type; long: Type; double: Type; + int8: Type; ulong: Type; Object: Type; + uint8: Type; longlong: Type; CString: Type; + int16: Type; ulonglong: Type; bool: Type; + uint16: Type; char: Type; byte: Type; + int32: Type; uchar: Type; size_t: Type; + uint32: Type; short: Type; + }; +} diff --git a/riotjs/riotjs-render.d.ts b/riotjs/riotjs-render.d.ts index fe6cf84dc..b2b044d93 100644 --- a/riotjs/riotjs-render.d.ts +++ b/riotjs/riotjs-render.d.ts @@ -1,4 +1,4 @@ -// Type definitions for riot.js (ext/render.js) +// Type definitions for riot.js // Project: https://github.com/moot/riotjs // Definitions by: vvakame // Definitions: https://github.com/borisyankov/DefinitelyTyped diff --git a/rx.js/rx-lite.d.ts b/rx.js/rx-lite.d.ts index dfae2289d..9b9506676 100644 --- a/rx.js/rx-lite.d.ts +++ b/rx.js/rx-lite.d.ts @@ -1,4 +1,6 @@ -// This file contains common part of defintions for rx.d.ts and rx.lite.d.ts +// DefinitelyTyped: partial + +// This file contains common part of defintions for rx.d.ts and rx.lite.d.ts // Do not include the file separately. declare module Rx { diff --git a/rx.js/rx.aggregates.d.ts b/rx.js/rx.aggregates.d.ts index 1305c18db..3c942a8af 100644 --- a/rx.js/rx.aggregates.d.ts +++ b/rx.js/rx.aggregates.d.ts @@ -1,7 +1,6 @@ // Type definitions for RxJS-Aggregates v2.2.25 // Project: http://rx.codeplex.com/ -// Definitions by: Carl de Billy -// Definitions by: Igor Oleinikov +// Definitions by: Carl de Billy , Igor Oleinikov // Definitions: https://github.com/borisyankov/DefinitelyTyped /// diff --git a/rx.js/rx.all.ts b/rx.js/rx.all.ts index 800baddef..f0d9eeb0b 100644 --- a/rx.js/rx.all.ts +++ b/rx.js/rx.all.ts @@ -1,7 +1,6 @@ // Type definitions for RxJS-All v2.2.25 // Project: http://rx.codeplex.com/ -// Definitions by: Carl de Billy -// Definitions by: Igor Oleinikov +// Definitions by: Carl de Billy , Igor Oleinikov // Definitions: https://github.com/borisyankov/DefinitelyTyped /// @@ -14,4 +13,4 @@ /// /// /// -/// \ No newline at end of file +/// diff --git a/rx.js/rx.async-lite.d.ts b/rx.js/rx.async-lite.d.ts index ce0f96778..be13320c2 100644 --- a/rx.js/rx.async-lite.d.ts +++ b/rx.js/rx.async-lite.d.ts @@ -1,3 +1,5 @@ +// DefinitelyTyped: partial + // This file contains common part of defintions for rx.async.d.ts and rx.lite.d.ts // Do not include the file separately. diff --git a/rx.js/rx.async.d.ts b/rx.js/rx.async.d.ts index 582b60f43..4c8aaa798 100644 --- a/rx.js/rx.async.d.ts +++ b/rx.js/rx.async.d.ts @@ -1,7 +1,6 @@ // Type definitions for RxJS-Async v2.2.25 // Project: http://rx.codeplex.com/ -// Definitions by: zoetrope -// Definitions by: Igor Oleinikov +// Definitions by: zoetrope , Igor Oleinikov // Definitions: https://github.com/borisyankov/DefinitelyTyped /// diff --git a/rx.js/rx.backpressure-lite.d.ts b/rx.js/rx.backpressure-lite.d.ts index 420a568f3..d1c244195 100644 --- a/rx.js/rx.backpressure-lite.d.ts +++ b/rx.js/rx.backpressure-lite.d.ts @@ -1,4 +1,6 @@ -// This file contains common part of defintions for rx.backpressure.d.ts and rx.lite.d.ts +// DefinitelyTyped: partial + +// This file contains common part of defintions for rx.backpressure.d.ts and rx.lite.d.ts // Do not include the file separately. /// diff --git a/rx.js/rx.binding-lite.d.ts b/rx.js/rx.binding-lite.d.ts index 1e5d95eaf..e1120e109 100644 --- a/rx.js/rx.binding-lite.d.ts +++ b/rx.js/rx.binding-lite.d.ts @@ -1,3 +1,5 @@ +// DefinitelyTyped: partial + // This file contains common part of defintions for rx.binding.d.ts and rx.lite.d.ts // Do not include the file separately. diff --git a/rx.js/rx.binding.d.ts b/rx.js/rx.binding.d.ts index b9ea37fe6..08a989f4b 100644 --- a/rx.js/rx.binding.d.ts +++ b/rx.js/rx.binding.d.ts @@ -1,7 +1,6 @@ // Type definitions for RxJS-Binding v2.2.25 // Project: http://rx.codeplex.com/ -// Definitions by: Carl de Billy -// Definitions by: Igor Oleinikov +// Definitions by: Carl de Billy , Igor Oleinikov // Definitions: https://github.com/borisyankov/DefinitelyTyped /// diff --git a/rx.js/rx.coincidence-lite.d.ts b/rx.js/rx.coincidence-lite.d.ts index 8dee43a0c..801e42168 100644 --- a/rx.js/rx.coincidence-lite.d.ts +++ b/rx.js/rx.coincidence-lite.d.ts @@ -1,3 +1,5 @@ +// DefinitelyTyped: partial + // This file contains common part of defintions for rx.time.d.ts and rx.lite.d.ts // Do not include the file separately. diff --git a/rx.js/rx.coincidence.d.ts b/rx.js/rx.coincidence.d.ts index 1fc45a2c6..e21712bfe 100644 --- a/rx.js/rx.coincidence.d.ts +++ b/rx.js/rx.coincidence.d.ts @@ -1,7 +1,6 @@ // Type definitions for RxJS-Coincidence v2.2.25 // Project: http://rx.codeplex.com/ -// Definitions by: Carl de Billy -// Definitions by: Igor Oleinikov +// Definitions by: Carl de Billy , Igor Oleinikov // Definitions: https://github.com/borisyankov/DefinitelyTyped /// diff --git a/rx.js/rx.d.ts b/rx.js/rx.d.ts index e88480f95..967b5aefa 100644 --- a/rx.js/rx.d.ts +++ b/rx.js/rx.d.ts @@ -1,7 +1,6 @@ // Type definitions for RxJS v2.2.25 // Project: http://rx.codeplex.com/ -// Definitions by: gsino -// Definitions by: Igor Oleinikov +// Definitions by: gsino , Igor Oleinikov // Definitions: https://github.com/borisyankov/DefinitelyTyped /// diff --git a/rx.js/rx.jquery.d.ts b/rx.js/rx.jquery.d.ts index f2dcb284a..75202142e 100644 --- a/rx.js/rx.jquery.d.ts +++ b/rx.js/rx.jquery.d.ts @@ -1,4 +1,4 @@ -// Type definitions for bridging RxJS with jQuery. +// Type definitions for RxJS-jQuery // Project: https://github.com/Reactive-Extensions/RxJS-jQuery/ // Definitions by: Igor Oleinikov // Definitions: https://github.com/borisyankov/DefinitelyTyped diff --git a/rx.js/rx.lite.d.ts b/rx.js/rx.lite.d.ts index 20d8a3179..801a89bbd 100644 --- a/rx.js/rx.lite.d.ts +++ b/rx.js/rx.lite.d.ts @@ -1,7 +1,6 @@ // Type definitions for RxJS-Lite v2.2.25 // Project: http://rx.codeplex.com/ -// Definitions by: gsino -// Definitions by: Igor Oleinikov +// Definitions by: gsino , Igor Oleinikov // Definitions: https://github.com/borisyankov/DefinitelyTyped /// diff --git a/rx.js/rx.time-lite.d.ts b/rx.js/rx.time-lite.d.ts index 36a07a825..a5b102827 100644 --- a/rx.js/rx.time-lite.d.ts +++ b/rx.js/rx.time-lite.d.ts @@ -1,3 +1,5 @@ +// DefinitelyTyped: partial + // This file contains common part of defintions for rx.time.d.ts and rx.lite.d.ts // Do not include the file separately. diff --git a/rx.js/rx.time.d.ts b/rx.js/rx.time.d.ts index 49b2f6b5e..010de369e 100644 --- a/rx.js/rx.time.d.ts +++ b/rx.js/rx.time.d.ts @@ -1,7 +1,6 @@ // Type definitions for RxJS-Time v2.2.25 // Project: http://rx.codeplex.com/ -// Definitions by: Carl de Billy -// Definitions by: Igor Oleinikov +// Definitions by: Carl de Billy , Igor Oleinikov // Definitions: https://github.com/borisyankov/DefinitelyTyped /// diff --git a/rx.js/rx.virtualtime.d.ts b/rx.js/rx.virtualtime.d.ts index 25835e3ad..1b729a781 100644 --- a/rx.js/rx.virtualtime.d.ts +++ b/rx.js/rx.virtualtime.d.ts @@ -1,7 +1,6 @@ // Type definitions for RxJS-VirtualTime v2.2.25 // Project: http://rx.codeplex.com/ -// Definitions by: gsino -// Definitions by: Igor Oleinikov +// Definitions by: gsino , Igor Oleinikov // Definitions: https://github.com/borisyankov/DefinitelyTyped /// diff --git a/sammyjs/sammyjs.d.ts b/sammyjs/sammyjs.d.ts index 136362fbf..dc41cbf6f 100644 --- a/sammyjs/sammyjs.d.ts +++ b/sammyjs/sammyjs.d.ts @@ -1,7 +1,6 @@ // Type definitions for Sammy.js // Project: http://sammyjs.org/ -// Definitions by: Boris Yankov -// Definitions by: Oisin Grehan +// Definitions by: Boris Yankov , Oisin Grehan // Definitions: https://github.com/borisyankov/DefinitelyTyped /// diff --git a/scroller/easyscroller.d.ts b/scroller/easyscroller.d.ts index edc3c55d6..fc0418a57 100644 --- a/scroller/easyscroller.d.ts +++ b/scroller/easyscroller.d.ts @@ -1,6 +1,6 @@ // Type definitions for Zynga EasyScroller // Project: https://github.com/zynga/scroller -// Definitions by: Boris Yankov https://github.com/borisyankov +// Definitions by: Boris Yankov // Definitions: https://github.com/borisyankov/DefinitelyTyped @@ -12,4 +12,4 @@ declare class EasyScroller { render(): void; reflow(): void; bindEvents(): void; -} \ No newline at end of file +} diff --git a/scroller/scroller.d.ts b/scroller/scroller.d.ts index 842aa8ee0..09cbbc291 100644 --- a/scroller/scroller.d.ts +++ b/scroller/scroller.d.ts @@ -1,6 +1,6 @@ // Type definitions for Zynga Scroller // Project: https://github.com/zynga/scroller -// Definitions by: Boris Yankov https://github.com/borisyankov +// Definitions by: Boris Yankov // Definitions: https://github.com/borisyankov/DefinitelyTyped @@ -47,4 +47,4 @@ declare class Scroller { doTouchStart(touches: any[], timeStamp: number): void; doTouchMove(touches: any[], timeStamp: number, scale?: number): void; doTouchEnd(timeStamp: number): void; -} \ No newline at end of file +} diff --git a/should/should.d.ts b/should/should.d.ts index 13eca9ccf..8b4c21fc1 100644 --- a/should/should.d.ts +++ b/should/should.d.ts @@ -1,6 +1,6 @@ // Type definitions for should.js 3.1.2 // Project: https://github.com/visionmedia/should.js -// Definitions by: Alex Varju and Maxime LUCE (1.3+) +// Definitions by: Alex Varju , Maxime LUCE // Definitions: https://github.com/borisyankov/DefinitelyTyped interface Object { diff --git a/signalr/signalr.d.ts b/signalr/signalr.d.ts index 6519f7051..2c6b0f266 100644 --- a/signalr/signalr.d.ts +++ b/signalr/signalr.d.ts @@ -1,7 +1,6 @@ // Type definitions for SignalR 1.0 // Project: http://www.asp.net/signalr -// Definitions by: Boris Yankov -// Modified by: T. Michael Keesey +// Definitions by: Boris Yankov , T. Michael Keesey // Definitions: https://github.com/borisyankov/DefinitelyTyped diff --git a/sinon-chai/sinon-chai.d.ts b/sinon-chai/sinon-chai.d.ts index fefeb1af6..f8166d4d6 100644 --- a/sinon-chai/sinon-chai.d.ts +++ b/sinon-chai/sinon-chai.d.ts @@ -1,7 +1,7 @@ // Type definitions for sinon-chai 2.4.0 // Project: https://github.com/domenic/sinon-chai // Definitions by: Kazi Manzur Rashid -// DefinitelyTyped: https://github.com/borisyankov/DefinitelyTyped +// Definitions: https://github.com/borisyankov/DefinitelyTyped /// diff --git a/sinon/sinon.d.ts b/sinon/sinon.d.ts index eb62a286e..f8bed61b0 100644 --- a/sinon/sinon.d.ts +++ b/sinon/sinon.d.ts @@ -1,7 +1,7 @@ // Type definitions for Sinon 1.8.1 // Project: http://sinonjs.org/ // Definitions by: William Sears -// DefinitelyTyped: https://github.com/borisyankov/DefinitelyTyped +// Definitions: https://github.com/borisyankov/DefinitelyTyped interface SinonSpyCallApi { // Properties diff --git a/smoothie/smoothie.d.ts b/smoothie/smoothie.d.ts index aae781d51..18f0cc0a5 100644 --- a/smoothie/smoothie.d.ts +++ b/smoothie/smoothie.d.ts @@ -1,7 +1,6 @@ // Type definitions for Smoothie Charts 1.21 // Project: https://github.com/joewalnes/smoothie -// Definitions by: Drew Noakes -// Mike H. Hawley +// Definitions by: Drew Noakes , Mike H. Hawley // Definitions: https://github.com/borisyankov/DefinitelyTyped/smoothie // NOTE this reference is here to make the DefinitelyTyped `npm test` suite pass and diff --git a/sockjs/sockjs.d.ts b/sockjs/sockjs.d.ts index db58683b2..3f823a5ee 100644 --- a/sockjs/sockjs.d.ts +++ b/sockjs/sockjs.d.ts @@ -1,7 +1,7 @@ // Type definitions for SockJS 0.3.x // Project: https://github.com/sockjs/sockjs-client // Definitions by: Emil Ivanov -// DefinitelyTyped: https://github.com/borisyankov/DefinitelyTyped +// Definitions: https://github.com/borisyankov/DefinitelyTyped interface SockJSSimpleEvent { type: string; diff --git a/spin/spin.d.ts b/spin/spin.d.ts index c7ceac2b6..02a0e7cd2 100644 --- a/spin/spin.d.ts +++ b/spin/spin.d.ts @@ -1,6 +1,6 @@ // Type definitions for Spin.js 1.3.1 // Project: http://fgnass.github.com/spin.js/ -// Definitions by: Boris Yankov and Theodore Brown +// Definitions by: Boris Yankov , Theodore Brown // Definitions: https://github.com/borisyankov/DefinitelyTyped diff --git a/state-machine/state-machine.d.ts b/state-machine/state-machine.d.ts index c5c9c83bf..67f7012b1 100644 --- a/state-machine/state-machine.d.ts +++ b/state-machine/state-machine.d.ts @@ -1,8 +1,6 @@ // Type definitions for Finite State Machine 2.2 // Project: https://github.com/jakesgordon/javascript-state-machine -// Definitions by: Boris Yankov -// Definitions by: Maarten Docter (2013/01/22) -// Definitions by: William Sears (2013/01/25) +// Definitions by: Boris Yankov , Maarten Docter , William Sears // Definitions: https://github.com/borisyankov/DefinitelyTyped interface StateMachineErrorCallback { diff --git a/stream-to-array/stream-to-array.d.ts b/stream-to-array/stream-to-array.d.ts index 4fd48acdf..45239bbb1 100644 --- a/stream-to-array/stream-to-array.d.ts +++ b/stream-to-array/stream-to-array.d.ts @@ -1,3 +1,9 @@ +// Type definitions for stream-to-array +// Project: https://github.com/stream-utils/stream-to-array +// Definitions by: Bart van der Schoor +// Definitions: https://github.com/borisyankov/DefinitelyTyped + + /// declare module 'stream-to-array' { diff --git a/svgjs.draggable/svgjs.draggable.d.ts b/svgjs.draggable/svgjs.draggable.d.ts index 76837f58e..8a64868c5 100644 --- a/svgjs.draggable/svgjs.draggable.d.ts +++ b/svgjs.draggable/svgjs.draggable.d.ts @@ -1,3 +1,9 @@ +// Type definitions for svgjs.draggable +// Project: http://www.svgjs.com/ +// Definitions by: Luigi Trabacchin +// Definitions: https://github.com/borisyankov/DefinitelyTyped + + declare module svgjs { export module draggable { export interface DragDelta { diff --git a/test-module/test-addon.ts b/test-module/test-addon.ts deleted file mode 100644 index 14c5ba0d6..000000000 --- a/test-module/test-addon.ts +++ /dev/null @@ -1,5 +0,0 @@ -/// - -declare module 'test-addon' { - export function addon(): Such; -} diff --git a/test-module/test-module.d.ts b/test-module/test-module.d.ts deleted file mode 100644 index 294e7ea43..000000000 --- a/test-module/test-module.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -interface Such { - amaze(): void; - much(): void; -} -declare module 'test-module' { - export function wow(): Such; -} diff --git a/threejs/three.d.ts b/threejs/three.d.ts index 906774181..748900166 100644 --- a/threejs/three.d.ts +++ b/threejs/three.d.ts @@ -1,4 +1,4 @@ -// Type definitions for three.js -- r67 +// Type definitions for three.js r67 // Project: http://mrdoob.github.com/three.js/ // Definitions by: Kon , Satoru Kimura // Definitions: https://github.com/borisyankov/DefinitelyTyped diff --git a/underscore/underscore.d.ts b/underscore/underscore.d.ts index 5fa693b00..c9c699326 100644 --- a/underscore/underscore.d.ts +++ b/underscore/underscore.d.ts @@ -1,7 +1,6 @@ // Type definitions for Underscore 1.6.0 // Project: http://underscorejs.org/ -// Definitions by: Boris Yankov -// Definitions by: Josh Baldwin +// Definitions by: Boris Yankov , Josh Baldwin // Definitions: https://github.com/borisyankov/DefinitelyTyped declare module _ { diff --git a/viewporter/viewporter.d.ts b/viewporter/viewporter.d.ts index c0f441c03..1e85cc5f6 100644 --- a/viewporter/viewporter.d.ts +++ b/viewporter/viewporter.d.ts @@ -1,6 +1,6 @@ // Type definitions for Zynga Viewporter v2.1 // Project: https://github.com/zynga/viewporter -// Definitions by: Boris Yankov https://github.com/borisyankov +// Definitions by: Boris Yankov // Definitions: https://github.com/borisyankov/DefinitelyTyped interface Viewporter { @@ -15,4 +15,4 @@ interface Viewporter { refresh(): void; } -declare var viewporter: Viewporter; \ No newline at end of file +declare var viewporter: Viewporter; diff --git a/webaudioapi/waa-20120802.d.ts b/webaudioapi/waa-20120802.d.ts index 64dc65876..a2039bf61 100644 --- a/webaudioapi/waa-20120802.d.ts +++ b/webaudioapi/waa-20120802.d.ts @@ -1,6 +1,6 @@ // Type definitions for Web Audio API // Project: http://www.w3.org/TR/2012/WD-webaudio-20120802/ -// Definitions by: Baruch Berger (https://github.com/bbss) +// Definitions by: Baruch Berger // Definitions: https://github.com/borisyankov/DefinitelyTyped // Conforms to the: http://www.w3.org/TR/2012/WD-webaudio-20120802/ specification diff --git a/webaudioapi/waa-nightly.d.ts b/webaudioapi/waa-nightly.d.ts index 79566f939..0d83c2533 100644 --- a/webaudioapi/waa-nightly.d.ts +++ b/webaudioapi/waa-nightly.d.ts @@ -1,6 +1,6 @@ // Type definitions for Web Audio API (nightly) // Project: http://www.w3.org/TR/2012/WD-webaudio-20120802/ -// Definitions by: Baruch Berger (https://github.com/bbss) +// Definitions by: Baruch Berger // Definitions: https://github.com/borisyankov/DefinitelyTyped // Conforms to the: http://www.w3.org/TR/2012/WD-webaudio-20120802/ specification diff --git a/x2js/xml2json.d.ts b/x2js/xml2json.d.ts index c202eface..1b55262f2 100644 --- a/x2js/xml2json.d.ts +++ b/x2js/xml2json.d.ts @@ -1,3 +1,7 @@ +// Type definitions for x2js +// Project: https://code.google.com/p/x2js/ +// Definitions by: Horiuchi_H +// Definitions: https://github.com/borisyankov/DefinitelyTyped interface IX2JS { new (config?: IX2JSOption): IX2JS; diff --git a/xml2js/xml2js.d.ts b/xml2js/xml2js.d.ts index 2b5aabc4d..30aa64a87 100644 --- a/xml2js/xml2js.d.ts +++ b/xml2js/xml2js.d.ts @@ -1,6 +1,6 @@ // Type definitions for node-xml2js // Project: https://github.com/Leonidas-from-XIV/node-xml2js -// Definitions by: Michel Salib +// Definitions by: Michel Salib // Definitions: https://github.com/borisyankov/DefinitelyTyped declare module 'xml2js' { diff --git a/youtube/youtube.d.ts b/youtube/youtube.d.ts index efb4ba344..3f21dcb86 100644 --- a/youtube/youtube.d.ts +++ b/youtube/youtube.d.ts @@ -1,7 +1,6 @@ // Type definitions for YouTube // Project: https://developers.google.com/youtube/ -// Definitions by: Daz Wilkin -// Definitions by: Ian Obermiller +// Definitions by: Daz Wilkin , Ian Obermiller // Definitions: https://github.com/borisyankov/DefinitelyTyped declare module YT { diff --git a/yui/yui-test.d.ts b/yui/yui-test.d.ts index f72784ffa..a9df72232 100644 --- a/yui/yui-test.d.ts +++ b/yui/yui-test.d.ts @@ -1,7 +1,7 @@ // Type definitions for yui 3.14.0 // Project: https://github.com/yui/yui3/blob/release-3.14.0/src/test/js -// Definitions by: -// Gia Bảo @ Sân Đình +// Definitions by: Gia Bảo @ Sân Đình +// Definitions: https://github.com/borisyankov/DefinitelyTyped declare module YUITest { interface YUITestStatic{ diff --git a/zeroclipboard/zeroclipboard.d.ts b/zeroclipboard/zeroclipboard.d.ts index 76086f5bd..6db1ba180 100644 --- a/zeroclipboard/zeroclipboard.d.ts +++ b/zeroclipboard/zeroclipboard.d.ts @@ -1,8 +1,6 @@ // Type definitions for ZeroClipboard // Project: https://github.com/jonrohan/ZeroClipboard -// Definitions by: Eric J. Smith -// Definitions by: Blake Niemyjski -// Definitions by: György Balássy +// Definitions by: Eric J. Smith , Blake Niemyjski , György Balássy // Definitions: https://github.com/borisyankov/DefinitelyTyped declare class ZeroClipboard {