MCPcopy Create free account
hub / github.com/ever-co/ever-demand / forRoot

Method forRoot

packages/common-angular/src/common.module.ts:15–20  ·  view source on GitHub ↗
(options: CommonModuleConfig)

Source from the content-addressed store, hash-verified

13})
14export class CommonModule {
15 static forRoot(options: CommonModuleConfig): ModuleWithProviders<CommonModule> {
16 return {
17 ngModule: CommonModule,
18 providers: [{ provide: API_URL, useValue: options.apiUrl }],
19 };
20 }
21}

Callers 7

app.module.tsFile · 0.45
app.module.tsFile · 0.45
app.module.tsFile · 0.45
app.module.tsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected