aboutsummaryrefslogtreecommitdiff
path: root/lib/index.d.ts
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2023-05-28 12:24:16 +0100
committerMichael Williamson <mike@zwobble.org>2023-05-28 12:24:16 +0100
commitb2b2c35715985f624e6b696fd87140fa6056318f (patch)
treea8015940e1d4b4bae1422af8e99277126e1df029 /lib/index.d.ts
parent1ce7c085668fd978f4f343b41db7f76f33145de5 (diff)
Avoid use of Buffer
Diffstat (limited to 'lib/index.d.ts')
-rw-r--r--lib/index.d.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/index.d.ts b/lib/index.d.ts
index 9666a9e..c73eeb5 100644
--- a/lib/index.d.ts
+++ b/lib/index.d.ts
@@ -39,7 +39,7 @@ interface ImageConverter {
interface Image {
contentType: string;
- readAsText: (encoding: string) => Promise<string>;
+ readAsBase64String: () => Promise<string>;
read: ImageRead;
}