Skip to content

Commit 562623c

Browse files
authored
fix: remove /* #__PURE__*/ comments (#7156)
1 parent e362571 commit 562623c

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

components/_util/hooks/_vueuse/_configurable.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export interface ConfigurableLocation {
2828
location?: Location;
2929
}
3030

31-
export const defaultWindow = /* #__PURE__ */ isClient ? window : undefined;
32-
export const defaultDocument = /* #__PURE__ */ isClient ? window.document : undefined;
33-
export const defaultNavigator = /* #__PURE__ */ isClient ? window.navigator : undefined;
34-
export const defaultLocation = /* #__PURE__ */ isClient ? window.location : undefined;
31+
export const defaultWindow = isClient ? window : undefined;
32+
export const defaultDocument = isClient ? window.document : undefined;
33+
export const defaultNavigator = isClient ? window.navigator : undefined;
34+
export const defaultLocation = isClient ? window.location : undefined;

components/_util/hooks/_vueuse/is.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export const rand = (min: number, max: number) => {
2121
return Math.floor(Math.random() * (max - min + 1)) + min;
2222
};
2323
export const isIOS =
24-
/* #__PURE__ */ isClient &&
24+
isClient &&
2525
window?.navigator?.userAgent &&
2626
/iP(ad|hone|od)/.test(window.navigator.userAgent);
2727
export const hasOwn = <T extends object, K extends keyof T>(val: T, key: K): key is K =>

0 commit comments

Comments
 (0)