Skip to content

Commit 43550ea

Browse files
committed
fixup
1 parent 24a1a21 commit 43550ea

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

modules/RTC/RTC.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -161,17 +161,17 @@ export default class RTC extends Listenable {
161161
* @private
162162
* @type {BridgeChannel}
163163
*/
164-
private _channel: BridgeChannel | null;
164+
private _channel: BridgeChannel;
165165

166166
/**
167167
* The value specified to the last invocation of setLastN before the
168168
* channel completed opening. If non-null, the value will be sent
169169
* through a channel (once) as soon as it opens and will then be
170170
* discarded.
171171
* @private
172-
* @type {number}
172+
* @type {Optional<number>}
173173
*/
174-
private _lastN: number | undefined;
174+
private _lastN: Optional<number>;
175175

176176
/**
177177
* Defines the forwarded sources list. It can be null or an array once initialised with a channel forwarded
@@ -180,7 +180,7 @@ export default class RTC extends Listenable {
180180
* @type {Array<string>|null}
181181
* @private
182182
*/
183-
private _forwardedSources: string[] | null;
183+
private _forwardedSources: Nullable<string[]>;
184184

185185
/**
186186
* The forwarded sources change listener.

0 commit comments

Comments
 (0)