Skip to content

Commit

Permalink
chore: fix incorrect collection version jsdocs (#7055)
Browse files Browse the repository at this point in the history
## Description

- [x] I have read and understand the
[CONTRIBUTING.md](https://github.com/payloadcms/payload/blob/main/CONTRIBUTING.md)
document in this repository.

## Type of change

- [x] Chore (non-breaking change which does not add functionality)

---------

Co-authored-by: Alessio Gravili <alessio@gravili.de>
  • Loading branch information
2 people authored and paulpopus committed Jul 24, 2024
1 parent 2c0581b commit 469dc87
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/payload/src/collections/config/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,9 @@ export type CollectionConfig<TSlug extends CollectionSlug = any> = {
*/
upload?: UploadConfig | boolean
/**
* Customize the handling of incoming file uploads
* Enable versioning. Set it to true to enable default versions settings,
* or customize versions options by setting the property equal to an object
* containing the version options.
*
* @default false // disable versioning
*/
Expand Down

0 comments on commit 469dc87

Please sign in to comment.