Skip to content

Commit

Permalink
perf: remove function call for noParse (#160)
Browse files Browse the repository at this point in the history
  • Loading branch information
cesco69 authored Oct 30, 2024
1 parent 1102a81 commit 5b26b82
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5b26b82

Please sign in to comment.