Skip to content
This repository was archived by the owner on Jan 31, 2025. It is now read-only.

Commit 04a1cad

Browse files
author
Daniel Brain
committed
export sync promise
1 parent 5bce030 commit 04a1cad

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/index.js

+1
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,6 @@ function init() {
2424
init();
2525

2626
export * from './interface';
27+
export { Promise } from './lib';
2728

2829
export default module.exports;

src/lib/promise.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ SyncPromise.all = function(promises) {
186186
return promise;
187187
};
188188

189-
let Promise = SyncPromise;
189+
export let Promise = SyncPromise;
190190

191191
export let promise = {
192192

0 commit comments

Comments
 (0)