It's common form to have all non-primitive types capitalized using UpperCamelCase. Currently, types are defined using lowerCamelCase, which makes this line of code
let options: options = getOptions();
very weird. Instead, we should do something like this:
let options: Options = getOptions();
It's a very subtle difference, but it follows style, and makes the code more readable.
Is there an existing issue for this?
Description
It's common form to have all non-primitive types capitalized using UpperCamelCase. Currently, types are defined using lowerCamelCase, which makes this line of code
very weird. Instead, we should do something like this:
It's a very subtle difference, but it follows style, and makes the code more readable.
(Google uses this in their style guide for TypeScript)
Are there alternatives you've considered?
N/A