Skip to content

Commit

Permalink
fix: Correct comparison for typeof check. (#308)
Browse files Browse the repository at this point in the history
  • Loading branch information
03eltond authored Nov 1, 2023
1 parent 8beedc7 commit 568f2ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/shared/sdk-server/src/Migration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ class Migration<
let end;
let result: TResult;
// TODO: Need to validate performance existence check with edge SDKs.
if (typeof performance !== undefined) {
if (typeof performance !== 'undefined') {
start = performance.now();
result = await method();
end = performance.now();
Expand Down

0 comments on commit 568f2ab

Please sign in to comment.