Merge pull request #31166 from schultzp2020/constructor-parameters
refactor: convert constructor parameter properties for erasableSyntaxOnly compatibility
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user