Skip to content

Commit

Permalink
Fix typo in RNPerfMetrics.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
EdmondChuiHW committed Mar 22, 2024
1 parent a630310 commit 635a2bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions front_end/core/host/RNPerfMetrics.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ export function getInstance(): RNPerfMetrics {
return instance;
}

type UnsunscribeFn = () => void;
type UnsubscribeFn = () => void;
class RNPerfMetrics {
#listeners: Set<RNReliabilityEventListener> = new Set();

addEventListener(listener: RNReliabilityEventListener): UnsunscribeFn {
addEventListener(listener: RNReliabilityEventListener): UnsubscribeFn {
this.#listeners.add(listener);

const unsubscribe = (): void => {
Expand Down

0 comments on commit 635a2bb

Please sign in to comment.