In TypeScript, the const keyword cannot be used to declare class properties. Doing so causes the compiler to an error with \"A class member cannot have the \'co
const
Constants can be declare outside of classes and use within your class. Otherwise the get property is a nice workaround
get
const MY_CONSTANT: string = "wazzup"; export class MyClass { public myFunction() { alert(MY_CONSTANT); } }