diff --git a/lib/entities/asset.js b/lib/entities/asset.js index d0f3cdbbc..d56c8ae4a 100644 --- a/lib/entities/asset.js +++ b/lib/entities/asset.js @@ -11,7 +11,7 @@ import freezeSys from 'contentful-sdk-core/freeze-sys' * @prop {string} fields.title - Title for this asset * @prop {string} fields.description - Description for this asset * @prop {Object} fields.file - File object for this asset - * @prop {Object} fields.file.fileName - Name for the file + * @prop {string} fields.file.fileName - Name for the file * @prop {string} fields.file.contentType - Mime type for the file * @prop {string} fields.file.url - Url where the file is available at. * @prop {Object} fields.file.details - Details for the file, depending on file type (example: image size in bytes, etc)