Files
NianAIGC/types/ali-oss.d.ts
2026-05-29 10:26:02 +08:00

12 lines
288 B
TypeScript

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>;
}
}