In a TypeScript 2.2.2
project, I have the following configuration :
export const MAIN_CONFIG: AppConfig = {
REST_API_BASE_ENDPOINT: 'api/v1',
REST_API_SECURITY_ENDPOINT: this.REST_API_BASE_ENDPOINT + '/security/test',
}
I expected that at runtime REST_API_SECURITY_ENDPOINT
value will be api/v1/security/test
but I got undefined/security/test
Is there any way to initialize a const
member with another ?
Thank you.