I am a little new to typescript and have a doubt about how can i create constants files with common objects.
Below is my project structure -
I have placed a common function in XrmV9Utility file -
And i am using this function in my main file as below -
I want to create a common object for security roles so then i don't need to write as static text like
SecurityRoles = {
Role 1 : "Deceased Estate Manager"
Role 2 : "Role2"
}
Similarly if I have common string variables accross files. Where and how do I set these?