Skip to content

Commit 5b26b82

Browse files
authored
perf: remove function call for noParse (#160)
1 parent 1102a81 commit 5b26b82

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

index.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,7 @@ const typeParsers = {
1212
}
1313

1414
// the empty parse function
15-
function noParse (val) {
16-
return String(val)
17-
};
15+
const noParse = String
1816

1917
// returns a function used to convert a specific type (specified by
2018
// oid) into a result javascript type

0 commit comments

Comments
 (0)