index.d.ts 299 B

1234567891011
  1. declare module "@/uni_modules/cool-share" {
  2. export function shareWithSystem(options: {
  3. type: "text" | "image" | "file" | "link" | "video" | "audio";
  4. title?: string;
  5. summary?: string;
  6. href?: string;
  7. imageUrl?: string;
  8. success?: () => void;
  9. fail?: (error: string) => void;
  10. }): void;
  11. }