From a232dc43efdb53a938275d0c475200f1e2c83415 Mon Sep 17 00:00:00 2001 From: Jon Surrell Date: Thu, 12 Dec 2019 00:52:47 +0100 Subject: [PATCH] Type blob package --- packages/blob/README.md | 2 +- packages/blob/src/index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/blob/README.md b/packages/blob/README.md index dfb1971f423f43..d9cd997185f4e2 100644 --- a/packages/blob/README.md +++ b/packages/blob/README.md @@ -38,7 +38,7 @@ _Parameters_ _Returns_ -- `?File`: The file for the blob URL. +- `(File|undefined)`: The file for the blob URL. # **isBlobURL** diff --git a/packages/blob/src/index.js b/packages/blob/src/index.js index 5b39dfdaf7c4af..c1932890c7840e 100644 --- a/packages/blob/src/index.js +++ b/packages/blob/src/index.js @@ -27,7 +27,7 @@ export function createBlobURL( file ) { * * @param {string} url The blob URL. * - * @return {?File} The file for the blob URL. + * @return {File|undefined} The file for the blob URL. */ export function getBlobByURL( url ) { return cache[ url ];