Skip to content

Commit

Permalink
build-types: remove unneeded spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
zoton2 committed Mar 4, 2021
1 parent 1c8851f commit 0046332
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .travis/build-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -490,12 +490,12 @@ function stringifyTypes(inputTypes: Tree, {terminator = ';', finalTerminator = t
if (typeDef.items) {
if (typeDef.items.type === 'object') {
if (Object.keys(typeDef.items.properties).length > 0) {
returnString += `{ ${stringifyTypes(typeDef.items.properties, {name})}`;
returnString += `{${stringifyTypes(typeDef.items.properties, {name})}`;
// Allows other arbitrary properties inside of "ExecuteBatch".
if (name === 'ExecuteBatch') {
returnString += ' [k: string]: any;';
returnString += '[k: string]: any;';
}
returnString += ' }[]';
returnString += '}[]';
} else {
returnString += 'Array<{[k: string]: any}>';
}
Expand Down

0 comments on commit 0046332

Please sign in to comment.