fuc-new/doc/node_modules/@vuepress/helper/lib/client/utils/hasGlobalComponent.d.ts
hellcat 6adbc04d4b 1
2025-10-03 17:17:08 +08:00

13 lines
409 B
TypeScript

import type { App } from 'vue';
/**
* Check if a global component with the given name exists
*
* 检查给定名称的全局组件是否存在
*
* @param name - Component name / 组件名称
* @param app - Vue app instance / Vue 应用实例
*
* @returns Whether the global component exists / 全局组件是否存在
*/
export declare const hasGlobalComponent: (name: string, app?: App) => boolean;