const example = "";
let exmapleTest = "";
type Example = {};
interface IExample {};
class ExampleClass {}
class TestClass {}
Should be single file, single topic, used when we need to save some type of state, so we create a class that contains the logic and necessary public/private properties
some-example.service.ts
class SomeExampleServiceClass {}
export const SomeExampleService = new SomeExampleServiceClass()
enum EXAMPLES {
EXAMPLE_ONE
EXAMPLE_TWO
}
enum EXAMPLES_VALUE {
EXAMPLE_ONE = "EXAMPLE_ONE"
EXAMPLE_TWO = "EXAMPLE_TWO"
}