Skip to content

Commit f4d7a23

Browse files
committed
up
1 parent 58275d0 commit f4d7a23

File tree

2 files changed

+17
-17
lines changed

2 files changed

+17
-17
lines changed

lib/notification_center/index.tests.js

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
1-
/****************************************************************************
2-
* Copyright 2020, 2024, Optimizely, Inc. and contributors *
3-
* *
4-
* Licensed under the Apache License, Version 2.0 (the "License"); *
5-
* you may not use this file except in compliance with the License. *
6-
* You may obtain a copy of the License at *
7-
* *
8-
* http://www.apache.org/licenses/LICENSE-2.0 *
9-
* *
10-
* Unless required by applicable law or agreed to in writing, software *
11-
* distributed under the License is distributed on an "AS IS" BASIS, *
12-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. *
13-
* See the License for the specific language governing permissions and *
14-
* limitations under the License. *
15-
***************************************************************************/
1+
/**
2+
* Copyright 2020, 2024, Optimizely
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
1616
import sinon from 'sinon';
1717
import { assert } from 'chai';
1818

lib/notification_center/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ export class DefaultNotificationCenter implements NotificationCenter, Notificati
144144

145145
/**
146146
* Remove all previously added notification listeners for the argument type
147-
* @param {NOTIFICATION_TYPES} notificationType One of NOTIFICATION_TYPES
147+
* @param {NotificationType} notificationType One of NotificationType
148148
*/
149149
clearNotificationListeners(notificationType: NotificationType): void {
150150
this.eventEmitter.removeListeners(notificationType);
@@ -153,7 +153,7 @@ export class DefaultNotificationCenter implements NotificationCenter, Notificati
153153
/**
154154
* Fires notifications for the argument type. All registered callbacks for this type will be
155155
* called. The notificationData object will be passed on to callbacks called.
156-
* @param {string} notificationType One of NOTIFICATION_TYPES
156+
* @param {NotificationType} notificationType One of NotificationType
157157
* @param {Object} notificationData Will be passed to callbacks called
158158
*/
159159
sendNotifications<N extends NotificationType>(

0 commit comments

Comments
 (0)