Fix typo in types.js (react-devtools-shared) (#22299)

Fix typo:

becuase -> because
This commit is contained in:
Konstantin Popov
2021-09-20 22:09:59 +03:00
committed by GitHub
parent c62d5831d3
commit acf8ada4c0

View File

@@ -79,7 +79,7 @@ export type ComponentFilter =
export type HookName = string | null;
// Map of hook source ("<filename>:<line-number>:<column-number>") to name.
// Hook source is used instead of the hook itself becuase the latter is not stable between element inspections.
// Hook source is used instead of the hook itself because the latter is not stable between element inspections.
// We use a Map rather than an Array because of nested hooks and traversal ordering.
export type HookSourceLocationKey = string;
export type HookNames = Map<HookSourceLocationKey, HookName>;