Skip to content

Commit 2d5453b

Browse files
committed
fix(docs): StorageManager prop corrections
1 parent e53c96d commit 2d5453b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ You should open an issue to discuss your pull request, unless it's a trivial cha
4242

4343
1. Fork & Clone this repo (Make sure to disable associated GitHub Actions. In fork go to Settings > Actions > General > Disable actions > save)
4444
1. [`nvm install`](https://github.com/nvm-sh/nvm)
45-
1. [`nvm use`](https://github.com/nvm-sh/nvm)
46-
1. `yarn setup`
45+
1. [`nvm use`](https://github.com/nvm-sh/nvm) (uses `.nvmrc` to use supported Node version)
46+
1. `yarn setup` (note: this includes `yarn install`)
4747
1. Within your fork, create a new branch based on the issue you're addressing, e.g. `git checkout -b angular/remove-browser-module`
4848
1. Commit your code using [conventional commit messages](https://www.conventionalcommits.org/en/v1.0.0/#summary), e.g. `git commit -m "chore: remove browser module"`.
4949
1. Once your work is committed, validate your changes according to [local development guides](#local-development-guides).

docs/src/pages/[platform]/connected-components/storage/storagemanager/props.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ export const STORAGE_MANAGER = [
8383
name: `processFile?`,
8484
description:
8585
'Called immediately before uploading a file to allow you to edit the key or the file itself. The function can return synchronously or return a promise.',
86-
type: `(params: {key: string, file: Blob}) => Promise<{key: string, file: Blob} & Record<string, any>> | {key: string, file: Blob} & Record<string, string>;`,
86+
type: `(params: {key: string, file: File}) => Promise<{key: string, file: File} & Record<string, any>> | {key: string, file: File} & Record<string, string>;`,
8787
},
8888
{
8989
name: `defaultFiles?`,

0 commit comments

Comments
 (0)