From e8e91d219a11bcfbd0fe2c2ebe149a6443bce325 Mon Sep 17 00:00:00 2001 From: Kieron Richardson Date: Wed, 7 Sep 2016 15:05:09 +0100 Subject: [PATCH] Request Promise: Fixed capitalization on the Promise import. Using the latest build of TypeScript is causing TS errors as the Promise being returned is not referencing the Bluebird one which it should be doing so. Due the capitalization being wrong this fixes that and enables the correct Promise being returned to allow the usage of Bluebird method / changes w/o TS errors. --- request-promise/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/request-promise/index.d.ts b/request-promise/index.d.ts index 448ba6f370..a3194ed5d2 100644 --- a/request-promise/index.d.ts +++ b/request-promise/index.d.ts @@ -7,7 +7,7 @@ declare module 'request-promise' { import request = require('request'); import http = require('http'); import errors = require('request-promise/errors'); - import promise = require('bluebird'); + import Promise = require('bluebird'); namespace requestPromise { interface RequestPromise extends request.Request {