Skip to content

Commit 013c554

Browse files
committed
WIP: fix lint
1 parent f3238c5 commit 013c554

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

packages/observable/src/observable.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ export interface SubscriberOverrides<T> {
238238
*/
239239
export class Subscriber<T> extends Subscription implements Observer<T> {
240240
/** @internal */
241-
protected isStopped: boolean = false;
241+
protected isStopped = false;
242242
/** @internal */
243243
protected destination: Observer<T>;
244244

packages/observable/src/polyfill.ts

+2-3
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,10 @@ import { Observable } from './observable.js';
44
// the environment may be a web worker, Node.js, or a browser
55
// we need to use the correct global context
66

7-
// @ts-ignore
87
const _globalThis = typeof globalThis !== 'undefined' ? globalThis : typeof self !== 'undefined' ? self : global;
98

10-
// @ts-ignore
9+
// @ts-expect-error we're adding a property to the global object here
1110
if (typeof _globalThis.Observable !== 'function') {
12-
// @ts-ignore
11+
// @ts-expect-error we're adding a property to the global object here
1312
_globalThis.Observable = Observable;
1413
}

0 commit comments

Comments
 (0)