Skip to content

Commit 9126083

Browse files
committed
chore: fix local build
1 parent 1923225 commit 9126083

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

templates/node/src/inputFile.ts.twig

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
import { File } from "node-fetch-native";
22
import { realpathSync, readFileSync } from "fs";
3+
import type { BinaryLike } from "crypto";
34

45
export class InputFile {
56
static fromBuffer(
6-
parts: ArrayBuffer | Blob | Buffer | string,
7+
parts: Blob | BinaryLike,
78
name: string
89
): File {
910
return new File([parts], name);

0 commit comments

Comments
 (0)