diff --git a/angular-dynamic-locale/angular-dynamic-locale.d.ts b/angular-dynamic-locale/angular-dynamic-locale.d.ts
index a30df1d7ed..e404e95328 100644
--- a/angular-dynamic-locale/angular-dynamic-locale.d.ts
+++ b/angular-dynamic-locale/angular-dynamic-locale.d.ts
@@ -5,6 +5,11 @@
///
+declare module "angular-dynamic-locale" {
+ import ng = angular.dynamicLocale;
+ export = ng;
+}
+
declare module angular.dynamicLocale {
interface tmhDynamicLocaleService {
diff --git a/angularjs/angular.d.ts b/angularjs/angular.d.ts
index c5ebeaa92f..14ccdbf043 100644
--- a/angularjs/angular.d.ts
+++ b/angularjs/angular.d.ts
@@ -1632,7 +1632,6 @@ declare module angular {
// see http://angularjs.blogspot.com.br/2015/11/angularjs-15-beta2-and-14-releases.html
// and http://toddmotto.com/exploring-the-angular-1-5-component-method/
///////////////////////////////////////////////////////////////////////////
-
/**
* Runtime representation a type that a Component or other object is instances of.
*
@@ -1728,6 +1727,10 @@ declare module angular {
$routeConfig?: RouteDefinition[];
}
+ interface IComponentTemplateFn {
+ ( $element?: IAugmentedJQuery, $attrs?: IAttributes ): string;
+ }
+
///////////////////////////////////////////////////////////////////////////
// Directive
// see http://docs.angularjs.org/api/ng.$compileProvider#directive
diff --git a/backbone/backbone-global.d.ts b/backbone/backbone-global.d.ts
index 764aa83d75..c16e1a59e3 100644
--- a/backbone/backbone-global.d.ts
+++ b/backbone/backbone-global.d.ts
@@ -43,6 +43,7 @@ declare module Backbone {
interface PersistenceOptions {
url?: string;
+ data?: any;
beforeSend?: (jqxhr: JQueryXHR) => void;
success?: (modelOrCollection?: any, response?: any, options?: any) => void;
error?: (modelOrCollection?: any, jqxhr?: JQueryXHR, options?: any) => void;
diff --git a/bcrypt-nodejs/bcrypt-nodejs-tests.ts b/bcrypt-nodejs/bcrypt-nodejs-tests.ts
new file mode 100644
index 0000000000..2a151c1c7e
--- /dev/null
+++ b/bcrypt-nodejs/bcrypt-nodejs-tests.ts
@@ -0,0 +1,30 @@
+///
+
+import bCrypt = require("bcrypt-nodejs");
+
+function test_sync() {
+ var salt1 = bCrypt.genSaltSync();
+ var salt2 = bCrypt.genSaltSync(8);
+
+ var hash1 = bCrypt.hashSync('super secret');
+ var hash2 = bCrypt.hashSync('super secret', salt1);
+
+ var compare1 = bCrypt.compareSync('super secret', hash1);
+
+ var rounds1 = bCrypt.getRounds(hash2);
+}
+
+function test_async() {
+ var cbString = (error: Error, result: string) => {};
+ var cbVoid = () => {};
+ var cbBoolean = (error: Error, result: boolean) => {};
+
+ bCrypt.genSalt(8, cbString);
+
+ var salt = bCrypt.genSaltSync();
+ bCrypt.hash('super secret', salt, cbString);
+ bCrypt.hash('super secret', salt, cbVoid, cbString);
+
+ var hash = bCrypt.hashSync('super secret');
+ bCrypt.compare('super secret', hash, cbBoolean);
+}
\ No newline at end of file
diff --git a/bcrypt-nodejs/bcrypt-nodejs.d.ts b/bcrypt-nodejs/bcrypt-nodejs.d.ts
new file mode 100644
index 0000000000..32b735d68f
--- /dev/null
+++ b/bcrypt-nodejs/bcrypt-nodejs.d.ts
@@ -0,0 +1,68 @@
+// Type definitions for bcrypt-nodejs
+// Project: https://github.com/shaneGirish/bcrypt-nodejs
+// Definitions by: David Broder-Rodgers
+// Definitions: https://github.com/borisyankov/DefinitelyTyped
+
+declare module "bcrypt-nodejs" {
+ /**
+ * Generate a salt synchronously
+ * @param rounds Number of rounds to process the data for (default - 10)
+ * @return Generated salt
+ */
+ export function genSaltSync(rounds?: number): string;
+
+ /**
+ * Generate a salt asynchronously
+ * @param rounds Number of rounds to process the data for (default - 10)
+ * @param callback Callback with error and resulting salt, to be fired once the salt has been generated
+ */
+ export function genSalt(rounds: number, callback: (error: Error, result: string) => void): void;
+
+ /**
+ * Generate a hash synchronously
+ * @param data Data to be encrypted
+ * @param salt Salt to be used in encryption (default - new salt generated with 10 rounds)
+ * @return Generated hash
+ */
+ export function hashSync(data: string, salt?: string): string;
+
+ /**
+ * Generate a hash asynchronously
+ * @param data Data to be encrypted
+ * @param salt Salt to be used in encryption
+ * @param callback Callback with error and hashed result, to be fired once the data has been encrypted
+ */
+ export function hash(data: string, salt: string, callback: (error: Error, result: string) => void): void;
+
+ /**
+ * Generate a hash asynchronously
+ * @param data Data to be encrypted
+ * @param salt Salt to be used in encryption
+ * @param progressCallback Callback to be fired multiple times during the hash calculation to signify progress
+ * @param callback Callback with error and hashed result, to be fired once the data has been encrypted
+ */
+ export function hash(data: string, salt: string, progressCallback: () => void, callback: (error: Error, result: string) => void): void;
+
+ /**
+ * Compares data with a hash synchronously
+ * @param data Data to be compared
+ * @param hash Hash to be compared to
+ * @return true if matching, false otherwise
+ */
+ export function compareSync(data: string, hash: string): boolean;
+
+ /**
+ * Compares data with a hash asynchronously
+ * @param data Data to be compared
+ * @param hash Hash to be compared to
+ * @param callback Callback with error and match result, to be fired once the data has been compared
+ */
+ export function compare(data: string, hash: string, callback: (error: Error, result: boolean) => void): void;
+
+ /**
+ * Get number of rounds used for hash
+ * @param hash Hash from which the number of rounds used should be extracted
+ * @return number of rounds used to encrypt a given hash
+ */
+ export function getRounds(hash: string): number;
+}
diff --git a/bezier-easing/bezier-easing-tests.ts b/bezier-easing/bezier-easing-tests.ts
new file mode 100644
index 0000000000..eab1fb4f15
--- /dev/null
+++ b/bezier-easing/bezier-easing-tests.ts
@@ -0,0 +1,21 @@
+///
+
+function test_create_from_array() {
+ let easing: BezierEasing = BezierEasing([0, 0, 1, 0.5]);
+}
+
+function test_create_from_params() {
+ let easing: BezierEasing = BezierEasing(0, 0, 1, 0.5);
+}
+
+function test_create_from_builtins() {
+ let easing: BezierEasing = BezierEasing.css['ease-in'];
+}
+
+function test_methods() {
+ let easing: BezierEasing = BezierEasing.css['ease-in'];
+ let easedRatio: number = easing.get(0.5);
+ let points: Array = easing.getPoints();
+ let stringified: string = easing.toString();
+ let asCSS: string = easing.toCSS();
+}
diff --git a/bezier-easing/bezier-easing.d.ts b/bezier-easing/bezier-easing.d.ts
new file mode 100644
index 0000000000..695368e7af
--- /dev/null
+++ b/bezier-easing/bezier-easing.d.ts
@@ -0,0 +1,24 @@
+// Type definitions for bezier-easing
+// Project: https://github.com/gre/bezier-easing
+// Definitions by: brian ridley
+// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
+
+declare interface BezierEasing {
+ get(ratio: number): number;
+ getPoints(): Array;
+ toString(): string;
+ toCSS(): string;
+}
+
+declare function BezierEasing(points: Array): BezierEasing;
+declare function BezierEasing(a: number, b: number, c: number, d: number): BezierEasing;
+
+declare namespace BezierEasing {
+ let css: {
+ 'ease': BezierEasing,
+ 'linear': BezierEasing,
+ 'ease-in': BezierEasing,
+ 'ease-out': BezierEasing,
+ 'ease-in-out': BezierEasing
+ };
+}
diff --git a/bluebird/bluebird-tests.ts b/bluebird/bluebird-tests.ts
index 5f96d28efc..278b1d2297 100644
--- a/bluebird/bluebird-tests.ts
+++ b/bluebird/bluebird-tests.ts
@@ -85,15 +85,15 @@ var bazProm: Promise;
// - - - - - - - - - - - - - - - - -
-var numThen: Promise.Thenable;
-var strThen: Promise.Thenable;
-var anyThen: Promise.Thenable;
-var boolThen: Promise.Thenable;
-var objThen: Promise.Thenable