Why when trying to declare a const I get error:
Expecting new line or semicolon
export class MyClass{
const ALLOC_INVESTORS = "Allocation Investors";
}
Why when trying to declare a const I get error:
Expecting new line or semicolon
export class MyClass{
const ALLOC_INVESTORS = "Allocation Investors";
}
in case anyone needs. instead of const, use readonly.
readonly ALLOC_INVESTORS:string = "Allocation Investors";