mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-03 06:17:04 +00:00
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:
committed by
GitHub
parent
af438b5f73
commit
e8e91d219a
Vendored
+1
-1
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user