Skip to content

Commit

Permalink
Fix String/Number type in @param
Browse files Browse the repository at this point in the history
  • Loading branch information
wojtekmaj committed Feb 16, 2021
1 parent 68d433d commit 2222f98
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/shared/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export const isFile = (variable) => {
/**
* Checks whether a string provided is a data URI.
*
* @param {String} str String to check
* @param {string} str String to check
*/
export const isDataURI = (str) => isString(str) && /^data:/.test(str);

Expand Down
2 changes: 1 addition & 1 deletion test/shared/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ function dataURItoUint8Array(dataURI) {
/**
* Parses data URI to Blob.
*
* @param {String} dataURI
* @param {string} dataURI
*/
export function dataURItoBlob(dataURI) {
const ia = dataURItoUint8Array(dataURI);
Expand Down

0 comments on commit 2222f98

Please sign in to comment.