fix esbuild and typing issues
This commit is contained in:
@@ -78,7 +78,7 @@ const fromBlobPropsToEntity = (
|
||||
|
||||
let hash: undefined | string = undefined;
|
||||
if (props.contentMD5 !== undefined) {
|
||||
hash = arrayBufferToHex(props.contentMD5.buffer);
|
||||
hash = arrayBufferToHex(props.contentMD5.buffer as ArrayBuffer);
|
||||
}
|
||||
|
||||
const entity: Entity = {
|
||||
|
||||
@@ -575,7 +575,7 @@ export class FakeFsOnedriveFull extends FakeFs {
|
||||
*/
|
||||
async _putUint8ArrayByRange(
|
||||
pathFragOrig: string,
|
||||
payload: Uint8Array,
|
||||
payload: Uint8Array<ArrayBuffer>,
|
||||
rangeStart: number,
|
||||
rangeEnd: number,
|
||||
size: number
|
||||
|
||||
Reference in New Issue
Block a user