Files
copilotkit__copilotkit/showcase/angular/src/main.ts

13 lines
454 B
TypeScript

import { provideZonelessChangeDetection } from "@angular/core";
import { bootstrapApplication } from "@angular/platform-browser";
import { AppComponent } from "./app/app.component";
import { appConfig } from "./app/app.config";
bootstrapApplication(AppComponent, {
...appConfig,
providers: [provideZonelessChangeDetection(), ...appConfig.providers],
}).catch((error: unknown) => {
console.error("[angular-showcase] bootstrap failed", error);
});