Initial 智念AIGC platform
This commit is contained in:
11
types/ali-oss.d.ts
vendored
Normal file
11
types/ali-oss.d.ts
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
declare module "ali-oss" {
|
||||
type PutOptions = {
|
||||
mime?: string;
|
||||
headers?: Record<string, string>;
|
||||
};
|
||||
|
||||
export default class OSS {
|
||||
constructor(options: Record<string, unknown>);
|
||||
put(name: string, file: Buffer | Uint8Array, options?: PutOptions): Promise<unknown>;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user