Is it possible to put a varible(or a const) to the path instead of writting whole path as string literal. As it seems, angular doesn't accept anything but string literal.
import aClass = require("./simpleClass");
import { aComponent } from aClass.myClass.Root + 'tutorial.component';
myClass:
export class myClass{
public static Root = "./"
}
In this example aClass.myClass.Root + 'tutorial.component' has error which was explained
aClass.myClass.Rootisundefined... Instead useaClass.Root? Although I still don't think that will work.