Skip to content

Commit fe0f6c7

Browse files
committed
refactor: do not use Object.hasOwn
1 parent e0f4a3f commit fe0f6c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/checkValue.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export async function checkValue<Value>(
2929
};
3030
}
3131

32-
if (checkResponse && Object.hasOwn(checkResponse, MIGRATED)) {
32+
if (checkResponse && typeof checkResponse[MIGRATED] === 'boolean') {
3333
return {
3434
success: true,
3535
migrated: checkResponse[MIGRATED],

0 commit comments

Comments
 (0)