小程序初始提交
This commit is contained in:
10
cool-unix/uni_modules/cool-share/index.d.ts
vendored
Normal file
10
cool-unix/uni_modules/cool-share/index.d.ts
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
declare module "@/uni_modules/cool-share" {
|
||||
export function shareWithSystem(options: {
|
||||
type: "text" | "image" | "file" | "link" | "video" | "audio";
|
||||
title?: string;
|
||||
summary?: string;
|
||||
url?: string;
|
||||
success?: () => void;
|
||||
fail?: (error: string) => void;
|
||||
}): void;
|
||||
}
|
||||
Reference in New Issue
Block a user