diff --git a/src/contracts/typeMap.ts b/src/contracts/typeMap.ts index 0ee8454..1caa4cb 100644 --- a/src/contracts/typeMap.ts +++ b/src/contracts/typeMap.ts @@ -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',