mirror of
https://github.com/youzan/vant.git
synced 2025-10-15 23:55:08 +00:00
types: improve ref typing (#8124)
* types: improve ref typing * types: message
This commit is contained in:
@@ -52,7 +52,7 @@ export default createComponent({
|
||||
setup(props, { emit, slots }) {
|
||||
let reachTop: boolean;
|
||||
|
||||
const root = ref();
|
||||
const root = ref<HTMLElement>();
|
||||
const scrollParent = useScrollParent(root);
|
||||
|
||||
const state = reactive({
|
||||
|
Reference in New Issue
Block a user