refactor: convert constructor parameter properties for erasableSyntaxOnly compatibility

Signed-off-by: Paul Schultz <pschultz@pobox.com>
This commit is contained in:
Paul Schultz
2025-09-16 12:29:49 -05:00
parent b3a437e15d
commit 05f60e1e0a
167 changed files with 1826 additions and 679 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);