From 045cb0d4fe786d4fd6ba5505f986271c985a2de1 Mon Sep 17 00:00:00 2001 From: John Hooks Date: Tue, 12 Sep 2023 11:09:30 -0700 Subject: [PATCH] refactor(blob): type url parameter as optional (#49201) --- 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 c7957da052e60a..0305c4784d6cbd 100644 --- a/packages/blob/README.md +++ b/packages/blob/README.md @@ -56,7 +56,7 @@ Check whether a url is a blob url. _Parameters_ -- _url_ `string`: The URL. +- _url_ `string|undefined`: The URL. _Returns_ diff --git a/packages/blob/src/index.js b/packages/blob/src/index.js index 67a48e0003150a..496869703d2dac 100644 --- a/packages/blob/src/index.js +++ b/packages/blob/src/index.js @@ -60,7 +60,7 @@ export function revokeBlobURL( url ) { /** * Check whether a url is a blob url. * - * @param {string} url The URL. + * @param {string|undefined} url The URL. * * @return {boolean} Is the url a blob url? */