mlegenhausen / fetch-intercept

Interceptor library for the native fetch command inspired by angular http intercepts.
MIT License
405 stars 52 forks source link

Change 'request' event returned type to Promise<any[]> #24

Closed ghost closed 5 years ago

ghost commented 5 years ago

The returned type is at the moment a fixed array. Changing it to a promise will allow more flexibility.

Cheers.

mlegenhausen commented 5 years ago

@aluczak Thanks.

Harmonickey commented 5 years ago

Please review my new issue regarding this change, I am getting an error trying to use the new Promise version of 'request' #26