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
@@ -49,10 +49,13 @@ export type NotificationSendOptions = {
/** @public */
export class DefaultNotificationService implements NotificationService {
private constructor(
private readonly discovery: DiscoveryService,
private readonly auth: AuthService,
) {}
private readonly discovery: DiscoveryService;
private readonly auth: AuthService;
private constructor(discovery: DiscoveryService, auth: AuthService) {
this.discovery = discovery;
this.auth = auth;
}
static create(
options: NotificationServiceOptions,