diff --git a/src/fun-promise.ts b/src/fun-promise.ts index b5a3053..119058a 100644 --- a/src/fun-promise.ts +++ b/src/fun-promise.ts @@ -57,7 +57,7 @@ export default class FunPromise implements Promise { /** * Constructor, which takes the promise to wrap. */ - constructor(wrapped: Promise) { + constructor(wrapped: Promisable) { this.wrapped = new Promise(async (resolve, reject) => { let resolved = null; try {