slow types?!

This commit is contained in:
Geoff Doty 2024-05-22 12:17:29 -04:00
parent 0f41c64cc3
commit e9b736dec3
2 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
{ {
"name": "@n2geoff/um", "name": "@n2geoff/um",
"version": "0.2.0", "version": "0.2.1",
"exports": "./src/index.js" "exports": "./src/index.js"
} }

View File

@ -23,7 +23,7 @@ export default function app(opts) {
* *
* @param {*} value * @param {*} value
* @param {String} type * @param {String} type
* @returns value|String * @returns {*}
*/ */
function check(value, type) { function check(value, type) {
return typeof value === typeof type ? value : type; return typeof value === typeof type ? value : type;