MCPcopy Create free account
hub / github.com/ngrx/platform / getConfig

Method getConfig

projects/www/src/app/examples/examples.service.ts:15–19  ·  view source on GitHub ↗
(exampleName: string)

Source from the content-addressed store, hash-verified

13@Injectable({ providedIn: 'root' })
14export class ExamplesService {
15 async getConfig(exampleName: string): Promise<StackblitzConfig> {
16 return (await stackblitzProjectFiles[
17 `./${exampleName}/stackblitz.yml`
18 ]()) as StackblitzConfig;
19 }
20
21 async load(element: HTMLElement, exampleName: string) {
22 const config = await this.getConfig(exampleName);

Callers 2

loadMethod · 0.95
openMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected