mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-31 11:07:32 +08:00
Fix cryptoHexEncodedHash256 type
This commit is contained in:
@@ -25,3 +25,14 @@ Evaporate.create({
|
||||
console.log(awsS3ObjectKey + '!!!');
|
||||
});
|
||||
});
|
||||
|
||||
Evaporate.create({
|
||||
bucket: 'test',
|
||||
computeContentMd5: true,
|
||||
cryptoMd5Method(data: ArrayBuffer) {
|
||||
return '';
|
||||
},
|
||||
cryptoHexEncodedHash256(data: ArrayBuffer | string | null) {
|
||||
return '';
|
||||
},
|
||||
});
|
||||
|
||||
2
types/evaporate/index.d.ts
vendored
2
types/evaporate/index.d.ts
vendored
@@ -39,7 +39,7 @@ declare namespace Evaporate {
|
||||
onlyRetryForSameFileName?: boolean;
|
||||
timeUrl?: string;
|
||||
cryptoMd5Method?: null | ((data: ArrayBuffer) => string);
|
||||
cryptoHexEncodedHash256?: null | ((data: ArrayBuffer) => string);
|
||||
cryptoHexEncodedHash256?: null | ((data: string | ArrayBuffer | null) => string);
|
||||
aws_url?: string;
|
||||
aws_key?: string;
|
||||
awsRegion?: string;
|
||||
|
||||
Reference in New Issue
Block a user