libs/code-demos/src/lib/code-demo-editor/code-demo-editor.component.ts
Function ngAfterViewInit
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
ngAfterViewInit(): void {
const editor = this.editorEl.nativeElement;
this.model = this.monacoConfigService.monaco.editor.createModel(
this.code,