Merge pull request #31166 from schultzp2020/constructor-parameters

refactor: convert constructor parameter properties for erasableSyntaxOnly compatibility
This commit is contained in:
Patrik Oldsberg
2025-10-15 18:56:42 +02:00
committed by GitHub
187 changed files with 1893 additions and 728 deletions
@@ -27,7 +27,11 @@ import { NotFoundError } from '@backstage/errors';
import { handleErrors } from './handleErrors';
export class McpService {
constructor(private readonly actions: ActionsService) {}
private readonly actions: ActionsService;
constructor(actions: ActionsService) {
this.actions = actions;
}
static async create({ actions }: { actions: ActionsService }) {
return new McpService(actions);