From 463a812a78e5d378d0f4793890b7807d477e3863 Mon Sep 17 00:00:00 2001 From: adrian2024lsp Date: Tue, 8 Oct 2024 15:11:50 +1300 Subject: [PATCH] fix(angular): fix ci --- verify/angular/src/app/app.component.ts | 16 ++++++++-------- verify/angular/src/main.ts | 4 ++-- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/verify/angular/src/app/app.component.ts b/verify/angular/src/app/app.component.ts index dbd46117..9e2c564a 100644 --- a/verify/angular/src/app/app.component.ts +++ b/verify/angular/src/app/app.component.ts @@ -3,23 +3,23 @@ * Licensed under the MIT License. See LICENSE in the package root for license information. * ------------------------------------------------------------------------------------------ */ -import { AfterViewInit, Component } from "@angular/core"; -import { MonacoEditorLanguageClientWrapper } from "monaco-editor-wrapper"; -import { jsonClientUserConfig } from "monaco-languageclient-examples/json-client"; +import { AfterViewInit, Component } from '@angular/core'; +import { MonacoEditorLanguageClientWrapper } from 'monaco-editor-wrapper'; +import { jsonClientUserConfig } from 'monaco-languageclient-examples/json-client'; @Component({ - selector: "app-root", - templateUrl: "./app.component.html", - styleUrls: ["./app.component.css"], + selector: 'app-root', + templateUrl: './app.component.html', + styleUrls: ['./app.component.css'], standalone: true, }) export class MonacoEditorComponent implements AfterViewInit { - title = "angular-client"; + title = 'angular-client'; initDone = false; async ngAfterViewInit(): Promise { const wrapper = new MonacoEditorLanguageClientWrapper(); - const htmlElement = document.getElementById("monaco-editor-root"); + const htmlElement = document.getElementById('monaco-editor-root'); try { await wrapper.initAndStart(jsonClientUserConfig, htmlElement); } catch (e) { diff --git a/verify/angular/src/main.ts b/verify/angular/src/main.ts index 415acfff..40ed6b01 100644 --- a/verify/angular/src/main.ts +++ b/verify/angular/src/main.ts @@ -3,6 +3,6 @@ * Licensed under the MIT License. See LICENSE in the package root for license information. * ------------------------------------------------------------------------------------------ */ -import { bootstrapApplication } from "@angular/platform-browser"; -import { MonacoEditorComponent } from "./app/app.component"; +import { bootstrapApplication } from '@angular/platform-browser'; +import { MonacoEditorComponent } from './app/app.component'; bootstrapApplication(MonacoEditorComponent);