aboutsummaryrefslogtreecommitdiff
path: root/lib/index.d.ts
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2023-05-28 11:44:46 +0100
committerMichael Williamson <mike@zwobble.org>2023-05-28 11:44:46 +0100
commit2b87c2e4a31f80c467af1c5db0e9da3a6e1e508d (patch)
tree69819cb306b820ffc12599ed6b7505878d8e5de5 /lib/index.d.ts
parent0d60c148c8fdb8168dcc6402021639572243f9cd (diff)
Introduce readAsText() on Image
Diffstat (limited to 'lib/index.d.ts')
-rw-r--r--lib/index.d.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/index.d.ts b/lib/index.d.ts
index d62aea9..9666a9e 100644
--- a/lib/index.d.ts
+++ b/lib/index.d.ts
@@ -39,6 +39,7 @@ interface ImageConverter {
interface Image {
contentType: string;
+ readAsText: (encoding: string) => Promise<string>;
read: ImageRead;
}