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.
This commit is contained in:
Kieron Richardson
2016-09-07 15:05:09 +01:00
committed by GitHub
parent af438b5f73
commit e8e91d219a
+1 -1
View File
@@ -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 {