Skip to content

Commit

Permalink
[bluebird] Restore assignability to native Promises (fixes #11027) (#…
Browse files Browse the repository at this point in the history
…34805)

* [bluebird] Rename import to Bluebird for tests

* [bluebird] Restore assignability to native Promises

* [bluebird] Upgrade TypeScript Versions of all dependents
  • Loading branch information
lhecker authored and RyanCavanaugh committed May 24, 2019
1 parent dad14da commit 3c7c5b7
Show file tree
Hide file tree
Showing 43 changed files with 285 additions and 275 deletions.
2 changes: 1 addition & 1 deletion types/acl/index.d.ts
Expand Up @@ -2,7 +2,7 @@
// Project: https://github.com/optimalbits/node_acl
// Definitions by: Qubo <https://github.com/tkQubo>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.8
// TypeScript Version: 3.2

/// <reference types="node"/>

Expand Down
2 changes: 1 addition & 1 deletion types/amqp-connection-manager/index.d.ts
Expand Up @@ -2,7 +2,7 @@
// Project: https://github.com/benbria/node-amqp-connection-manager
// Definitions by: rogierschouten <https://github.com/rogierschouten>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.8
// TypeScript Version: 3.2

import { ConfirmChannel, Connection, Message, Options, Replies } from "amqplib";
import { EventEmitter } from "events";
Expand Down
2 changes: 1 addition & 1 deletion types/amqplib/index.d.ts
Expand Up @@ -2,7 +2,7 @@
// Project: https://github.com/squaremo/amqp.node, http://squaremo.github.io/amqp.node
// Definitions by: Michael Nahkies <https://github.com/mnahkies>, Ab Reitsma <https://github.com/abreits>, Nicolás Fantone <https://github.com/nfantone>, Nick Zelei <https://github.com/zelein>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.8
// TypeScript Version: 3.2

/// <reference types="node" />

Expand Down
2 changes: 1 addition & 1 deletion types/asana/index.d.ts
Expand Up @@ -2,7 +2,7 @@
// Project: https://github.com/Asana/node-asana
// Definitions by: Qubo <https://github.com/tkqubo>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.8
// TypeScript Version: 3.2
import * as Promise from 'bluebird';

declare namespace asana {
Expand Down
2 changes: 1 addition & 1 deletion types/blue-tape/index.d.ts
Expand Up @@ -2,7 +2,7 @@
// Project: https://github.com/spion/blue-tape
// Definitions by: Haoqun Jiang <https://github.com/sodatea>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.8
// TypeScript Version: 3.2

/// <reference types="node" />

Expand Down
2 changes: 1 addition & 1 deletion types/bluebird-global/index.d.ts
Expand Up @@ -2,7 +2,7 @@
// Project: https://github.com/kaatt/bluebird-global
// Definitions by: d-ph <https://github.com/d-ph>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.8
// TypeScript Version: 3.2

/*
* 1. Why use `bluebird-global` instead of `bluebird`?
Expand Down
2 changes: 1 addition & 1 deletion types/bluebird-retry/index.d.ts
Expand Up @@ -2,7 +2,7 @@
// Project: https://github.com/demmer/bluebird-retry
// Definitions by: Pascal Vomhoff <https://github.com/pvomhoff>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.8
// TypeScript Version: 3.2

import Promise = require('bluebird');

Expand Down

0 comments on commit 3c7c5b7

Please sign in to comment.