// 创建一个 RefObject 对象export function createRef(): RefObject { const refObject = { current: null, }; return refObject;}