Make methods lower case

This commit is contained in:
Jordan Eldredge 2020-01-07 07:25:16 -08:00
parent 346ad4fdbd
commit dec28c7a1a
2 changed files with 732 additions and 798 deletions

File diff suppressed because it is too large Load diff

View file

@ -41,7 +41,7 @@ function argumentTypeForParameter(param) {
function methodTypeForFunction(func) {
const args = func.parameters.map(argumentTypeForParameter).join(", ");
return `${func.name}(${args}): ${mapType(func.result)};`;
return `${func.name.toLowerCase()}(${args}): ${mapType(func.result)};`;
}
function interfaceForObject(object) {