In TypeScript, we use the same standards as JavaScript, because we work with many JavaScript libraries (and possibly also consume JavaScript code).
So, we prefer PascalCase for modules and classes, with camelCase as members.
module ExampleModule { export class ExampleClass { public exampleProperty: string; public exampleMethod() { } } }
The only other style rule I can think of is the ALL_UPPER constants.
You will notice that this works well with the following code:
Math.ceil(Math.PI);
Most importantly, stick to the style you are using, as the style can mean meaning, so if you are incompatible, it will cause confusion.
source share