aboutsummaryrefslogtreecommitdiff
path: root/packages/web-util/src/context/activity.ts
diff options
context:
space:
mode:
authorSebastian <sebasjm@gmail.com>2024-04-01 14:09:12 -0300
committerSebastian <sebasjm@gmail.com>2024-04-01 14:09:12 -0300
commit38b4e3cc557bf83cc8e07288cc9d405f252a8d61 (patch)
tree1bfd78bea79fefc5f1b36429d70d2c6ae85e80f8 /packages/web-util/src/context/activity.ts
parent2c1f3ffec19e95716a57647f35c7bd68e8565e5a (diff)
downloadwallet-core-38b4e3cc557bf83cc8e07288cc9d405f252a8d61.tar.gz
wallet-core-38b4e3cc557bf83cc8e07288cc9d405f252a8d61.tar.bz2
wallet-core-38b4e3cc557bf83cc8e07288cc9d405f252a8d61.zip
codespell
Diffstat (limited to 'packages/web-util/src/context/activity.ts')
-rw-r--r--packages/web-util/src/context/activity.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/web-util/src/context/activity.ts b/packages/web-util/src/context/activity.ts
index 460c01096..c38f133a1 100644
--- a/packages/web-util/src/context/activity.ts
+++ b/packages/web-util/src/context/activity.ts
@@ -18,7 +18,7 @@ import { ObservabilityEvent, TalerAuthenticationHttpClient, TalerBankConversionH
type Listener<Event> = (e: Event) => void;
type Unsuscriber = () => void;
-export type Suscriber<Event> = (fn: Listener<Event>) => Unsuscriber;
+export type Subscriber<Event> = (fn: Listener<Event>) => Unsuscriber;
export class ActiviyTracker<Event> {
private observers = new Array<Listener<Event>>();
@@ -50,7 +50,7 @@ export interface APIClient<T, C> {
getRemoteConfig(): Promise<C>;
VERSION: string;
lib: T,
- onActivity: Suscriber<ObservabilityEvent>;
+ onActivity: Subscriber<ObservabilityEvent>;
cancelRequest(id: string): void;
}