index.d.ts 389 B

1234567891011
  1. import type { MaybeRef } from '@vueuse/core';
  2. declare type DeprecationParam = {
  3. from: string;
  4. replacement: string;
  5. scope: string;
  6. version: string;
  7. ref: string;
  8. type?: 'API' | 'Attribute' | 'Event' | 'Slot';
  9. };
  10. export declare const useDeprecated: ({ from, replacement, scope, version, ref, type }: DeprecationParam, condition: MaybeRef<boolean>) => void;
  11. export {};