Skip to content

Commit

Permalink
Revert "fix: fix maps types"
Browse files Browse the repository at this point in the history
This reverts commit d500879.
  • Loading branch information
hugomrdias committed Mar 2, 2021
1 parent cf9a68d commit b902a59
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions src/maps.js
Expand Up @@ -23,13 +23,9 @@ for (const name in baseTable) {
}
}

Object.freeze(nameToVarint)
Object.freeze(constantToCode)
Object.freeze(codeToName)
const nameToCode = Object.freeze(baseTable)
module.exports = {
nameToVarint,
constantToCode,
nameToCode,
codeToName
nameToVarint: Object.freeze(nameToVarint),
constantToCode: Object.freeze(constantToCode),
nameToCode: Object.freeze(baseTable),
codeToName: Object.freeze(codeToName)
}

0 comments on commit b902a59

Please sign in to comment.