How do I place a constant in an Interface in typescript. Like in java it is:
interface OlympicMedal { static final String GOLD = \"Gold\"; static final S
This seems to work:
class Foo { static readonly FOO="bar" } export function foo(): string { return Foo.FOO }
You can have private constants as well like this. It seems interfaces can't have static members though.