Skip to content

Commit

Permalink
Rename makeInUseGetterFunction result function to `inUseGetterFunct…
Browse files Browse the repository at this point in the history
…ion` for clarity

Co-authored-by: Alessia Bellisario <[email protected]>
  • Loading branch information
benjamn and alessbell committed Feb 15, 2023
1 parent d505503 commit 236912a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utilities/graphql/transform.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ interface InternalInUseInfo {
function makeInUseGetterFunction<TKey>() {
const map = new Map<TKey, InternalInUseInfo>();

return function getInUse(key: TKey): InternalInUseInfo {
return function inUseGetterFunction(key: TKey): InternalInUseInfo {
let inUse = map.get(key);
if (!inUse) {
map.set(key, inUse = {
Expand Down

0 comments on commit 236912a

Please sign in to comment.