mime-types icon indicating copy to clipboard operation
mime-types copied to clipboard

fix: update JSDoc to convey only false return

Open kellyselden opened this issue 4 months ago • 0 comments

This is a minor optimization/fix to allow the following

/** @type {string}
let foo;
foo = mimeTypes.lookup(filePath) || 'text/html';

without a JSDoc error.

kellyselden avatar Jun 10 '25 16:06 kellyselden