From e9b736dec35845b636da91d88d7be01c04849ece Mon Sep 17 00:00:00 2001 From: Geoff Doty Date: Wed, 22 May 2024 12:17:29 -0400 Subject: [PATCH] slow types?! --- jsr.json | 2 +- src/app.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/jsr.json b/jsr.json index e1f456d..81eee2a 100644 --- a/jsr.json +++ b/jsr.json @@ -1,5 +1,5 @@ { "name": "@n2geoff/um", - "version": "0.2.0", + "version": "0.2.1", "exports": "./src/index.js" } \ No newline at end of file diff --git a/src/app.js b/src/app.js index 76d6f51..a669d5e 100644 --- a/src/app.js +++ b/src/app.js @@ -23,7 +23,7 @@ export default function app(opts) { * * @param {*} value * @param {String} type - * @returns value|String + * @returns {*} */ function check(value, type) { return typeof value === typeof type ? value : type;