Skip to content

Commit

Permalink
Simplified typedef
Browse files Browse the repository at this point in the history
  • Loading branch information
MitchPierias committed Apr 22, 2019
1 parent 6e3f72b commit 9810ef6
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/contracts/typeMap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,7 @@
* // JSON object type map?
*/

interface TypeMapping {
[key:string]:string
}

const types:TypeMapping = {
const types: { [key:string]:string } = {
'string':'string',
'bool':'boolean',
'name':'string|number',
Expand Down

0 comments on commit 9810ef6

Please sign in to comment.