Lets say I have a typescript file environment.ts where I export
export const environment = {
host: localhost:8080,
// more keys/values
}
Lets say I have another file url.ts where I want to import the environment object.
import { environment } from 'environments/environment';
Which works fine. I could do there something like
const host = environment.host
Question:
But, is there any way to just import the host value directly?