GasWell-front/node_modules/element-plus/lib/hooks/use-deprecated/index.d.ts

12 lines
389 B
TypeScript

import type { MaybeRef } from '@vueuse/core';
declare 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 {};