Skip to content

Commit

Permalink
fix(store): use stream.Readable types in file functions
Browse files Browse the repository at this point in the history
  • Loading branch information
dirkdev98 committed Oct 5, 2023
1 parent 69dd2bf commit 7293477
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/store/src/file.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export const STORE_FILE_IMAGE_TYPES = [
* }} options
* @param {Partial<import("./generated/common/types.d.ts").StoreFile> & Pick<import("./generated/common/types.d.ts").StoreFile,
* "name">} props
* @param {NodeJS.ReadableStream|string|Buffer} source
* @param {import("stream").Readable|string|Buffer} source
* @returns {Promise<import("./generated/common/types.d.ts").StoreFile>}
*/
export async function fileCreateOrUpdate(
Expand Down Expand Up @@ -284,9 +284,9 @@ export async function fileTransformInPlace(
* }} options
* @param {Partial<import("./generated/common/types.d.ts").StoreFile> & Pick<import("./generated/common/types.d.ts").StoreFile,
* "name">} props
* @param {NodeJS.ReadableStream|string|Buffer} source
* @param {import("stream").Readable|string|Buffer} source
* @returns {Promise<{
* source: NodeJS.ReadableStream|string|Buffer,
* source: import("stream").Readable|string|Buffer,
* contentType: string,
* }>}
*/
Expand Down

0 comments on commit 7293477

Please sign in to comment.