From cc33dd64a40e819db960a3b06c73bf7c0494163d Mon Sep 17 00:00:00 2001 From: Bart van der Schoor Date: Sat, 22 Feb 2014 19:51:18 +0100 Subject: [PATCH] fixed bluebird (dynamic version) mistake in test name added 'preliminary typings' note to definitions --- bluebird/{bluebird-test.ts => bluebird-tests.ts} | 0 bluebird/bluebird.d.ts | 10 ++++++++++ 2 files changed, 10 insertions(+) rename bluebird/{bluebird-test.ts => bluebird-tests.ts} (100%) diff --git a/bluebird/bluebird-test.ts b/bluebird/bluebird-tests.ts similarity index 100% rename from bluebird/bluebird-test.ts rename to bluebird/bluebird-tests.ts diff --git a/bluebird/bluebird.d.ts b/bluebird/bluebird.d.ts index c05f8b02b..470699143 100644 --- a/bluebird/bluebird.d.ts +++ b/bluebird/bluebird.d.ts @@ -3,6 +3,13 @@ // Definitions by: Bart van der Schoor // Definitions: https://github.com/borisyankov/DefinitelyTyped +// note: these are preliminary typings using `any`: the generic versions are under construction, see: + +// https://github.com/borisyankov/DefinitelyTyped/issues/1563 + +// https://github.com/borisyankov/DefinitelyTyped/tree/def/bluebird + + declare module Bluebird { interface ArrayLike { @@ -496,3 +503,6 @@ declare module Bluebird { filter(values:any[], filterer:(item:any, index?:number, arrayLength?:number) => any):Promise; } } +declare module 'bluebird' { + export = Bluebird; +}