From 5b26b826466cff4a9092b8c9e31960fe293ef3d9 Mon Sep 17 00:00:00 2001 From: francesco Date: Wed, 30 Oct 2024 19:55:05 +0100 Subject: [PATCH] perf: remove function call for noParse (#160) --- index.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/index.js b/index.js index 60e9b82..f1a0051 100644 --- a/index.js +++ b/index.js @@ -12,9 +12,7 @@ const typeParsers = { } // the empty parse function -function noParse (val) { - return String(val) -}; +const noParse = String // returns a function used to convert a specific type (specified by // oid) into a result javascript type