mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-05 19:41:42 +08:00
types: fix missing VisibilityState after typescript 4.6.0 (#10370)
This commit is contained in:
parent
bc7afd7037
commit
b0849c03e5
@ -1,6 +1,8 @@
|
||||
import { ref, Ref } from 'vue';
|
||||
import { inBrowser } from '../utils';
|
||||
|
||||
type VisibilityState = "hidden" | "visible";
|
||||
|
||||
let visibility: Ref<VisibilityState>;
|
||||
|
||||
export function usePageVisibility() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user