adobe / aio-lib-files

An abstraction on top of cloud blob storage exposing a file system like API
https://www.adobe.io
Apache License 2.0
10 stars 14 forks source link

Typescript error #120

Open jnatherley opened 1 year ago

jnatherley commented 1 year ago

Expected Behaviour

files.d.ts line 53 should be Promise<T> instead of Promise

Actual Behaviour

types/adobe/files.d.ts:53:106 - error TS2314: Generic type 'Promise<T>' requires 1 type argument(s).

53     protected _wrapProviderRequest(requestPromise: Promise, details: any, filePathToThrowOn404: string): Promise;

Reproduce Scenario (including but not limited to)

Steps to Reproduce

Platform and Version

Sample Code that illustrates the problem

Logs taken while reproducing problem