Skip to content

Commit 568f2ab

Browse files
authored
fix: Correct comparison for typeof check. (#308)
1 parent 8beedc7 commit 568f2ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/shared/sdk-server/src/Migration.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@ class Migration<
355355
let end;
356356
let result: TResult;
357357
// TODO: Need to validate performance existence check with edge SDKs.
358-
if (typeof performance !== undefined) {
358+
if (typeof performance !== 'undefined') {
359359
start = performance.now();
360360
result = await method();
361361
end = performance.now();

0 commit comments

Comments
 (0)