Skip to content

Commit

Permalink
fix(observable): add AlwatrLogger type to logger_ property
Browse files Browse the repository at this point in the history
  • Loading branch information
AliMD committed Nov 6, 2024
1 parent 00ca9c1 commit f21b562
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/observable/src/observable.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {createLogger, packageTracer} from '@alwatr/nanolib';
import {createLogger, packageTracer, type AlwatrLogger} from '@alwatr/nanolib';

import type {SubscribeOptions, ListenerCallback, Observer, SubscribeResult, AlwatrObservableInterface} from './type.js';

Expand All @@ -11,7 +11,7 @@ export interface AlwatrObservableConfig {

export abstract class AlwatrObservable<T extends DictionaryOpt = DictionaryOpt> implements AlwatrObservableInterface<T> {
protected name_;
protected logger_;
protected logger_: AlwatrLogger;
protected message_?: T;
protected observers__: Observer<this, T>[] = [];

Expand Down

0 comments on commit f21b562

Please sign in to comment.