chore(core): cleanup type issues

This commit is contained in:
braks
2024-01-29 21:56:44 +01:00
committed by Braks
parent e0a48f0552
commit e24f436fc5
2 changed files with 4 additions and 5 deletions
@@ -2,8 +2,11 @@ import type { Ref } from 'vue'
import { watchEffect } from 'vue'
import { ErrorCode, VueFlowError, getDimensions } from '../utils'
import { useVueFlow } from './useVueFlow'
import { useWindow } from './useWindow'
export function useResizeHandler(viewportEl: Ref<HTMLDivElement | null>): void {
const window = useWindow()
const { emits, dimensions } = useVueFlow()
let resizeObserver: ResizeObserver