Skip to content

Commit

Permalink
fix(docs): StorageManager prop corrections
Browse files Browse the repository at this point in the history
  • Loading branch information
EthanRBrown committed Aug 29, 2024
1 parent e53c96d commit c57132b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ You should open an issue to discuss your pull request, unless it's a trivial cha

1. Fork & Clone this repo (Make sure to disable associated GitHub Actions. In fork go to Settings > Actions > General > Disable actions > save)
1. [`nvm install`](https://github.com/nvm-sh/nvm)
1. [`nvm use`](https://github.com/nvm-sh/nvm)
1. [`nvm use`](https://github.com/nvm-sh/nvm) (uses `.nvmrc` to use supported Node version)
1. `yarn install`
1. `yarn setup`
1. Within your fork, create a new branch based on the issue you're addressing, e.g. `git checkout -b angular/remove-browser-module`
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"`.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export const STORAGE_MANAGER = [
name: `processFile?`,
description:
'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.',
type: `(params: {key: string, file: Blob}) => Promise<{key: string, file: Blob} & Record<string, any>> | {key: string, file: Blob} & Record<string, string>;`,
type: `(params: {key: string, file: File}) => Promise<{key: string, file: File} & Record<string, any>> | {key: string, file: File} & Record<string, string>;`,
},
{
name: `defaultFiles?`,
Expand Down

0 comments on commit c57132b

Please sign in to comment.