File tree 2 files changed +3
-4
lines changed
2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -238,7 +238,7 @@ export interface SubscriberOverrides<T> {
238
238
*/
239
239
export class Subscriber < T > extends Subscription implements Observer < T > {
240
240
/** @internal */
241
- protected isStopped : boolean = false ;
241
+ protected isStopped = false ;
242
242
/** @internal */
243
243
protected destination : Observer < T > ;
244
244
Original file line number Diff line number Diff line change @@ -4,11 +4,10 @@ import { Observable } from './observable.js';
4
4
// the environment may be a web worker, Node.js, or a browser
5
5
// we need to use the correct global context
6
6
7
- // @ts -ignore
8
7
const _globalThis = typeof globalThis !== 'undefined' ? globalThis : typeof self !== 'undefined' ? self : global ;
9
8
10
- // @ts -ignore
9
+ // @ts -expect-error we're adding a property to the global object here
11
10
if ( typeof _globalThis . Observable !== 'function' ) {
12
- // @ts -ignore
11
+ // @ts -expect-error we're adding a property to the global object here
13
12
_globalThis . Observable = Observable ;
14
13
}
You can’t perform that action at this time.
0 commit comments