Browse Source

Type inference

main
Cédric Belin 5 months ago
parent
commit
c005771769
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/web_storage.ts

+ 1
- 1
src/web_storage.ts View File

@@ -6,7 +6,7 @@ import {fromEvent, Observable, Subject, Subscription} from "rxjs";
export abstract class WebStorage implements Iterable<[string, string|undefined]>, OnDestroy {

/** The handler of "change" events. */
private readonly _onChange: Subject<StorageEvent> = new Subject<StorageEvent>();
private readonly _onChange = new Subject<StorageEvent>();

/** The subscription to the storage events. */
private readonly _subscription: Subscription;


Loading…
Cancel
Save