stdproject/frontend/node_modules/element-plus/es/hooks/use-deprecated/index.d.ts
2025-05-30 13:43:31 +08:00

12 lines
381 B
TypeScript

import type { MaybeRef } from '@vueuse/core';
type DeprecationParam = {
from: string;
replacement: string;
scope: string;
version: string;
ref: string;
type?: 'API' | 'Attribute' | 'Event' | 'Slot';
};
export declare const useDeprecated: ({ from, replacement, scope, version, ref, type }: DeprecationParam, condition: MaybeRef<boolean>) => void;
export {};