am getting the below issue while using my custom component.
Error: Error encountered resolving symbol values statically. Function calls are not supported. Consider replacing t he function or lambda with a reference to an exported function, resolving symbol getValue in E:/AOT/systemjs-aot-16 62901741/src/
core.ts
export function getValue(
):any{ return "";}
cus-component.ts
import { getValue } from './core.ts';
export let compTest = getValue();
app.module.ts
import { compTest } from './cus-component';
@NgModule({
imports: [BrowserModule, FormsModule, HttpModule, RouterModule.forRoot(rootRouterConfig, { useHash: true })],
declarations: [ HomeComponent,compTest ],
bootstrap: [AppComponent]
})
export class AppModule { }