diff options
Diffstat (limited to 'lib/index.d.ts')
| -rw-r--r-- | lib/index.d.ts | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/index.d.ts b/lib/index.d.ts index c73eeb5..705606f 100644 --- a/lib/index.d.ts +++ b/lib/index.d.ts @@ -1,7 +1,10 @@ interface Mammoth { convertToHtml: (input: Input, options?: Options) => Promise<Result>; extractRawText: (input: Input) => Promise<Result>; - embedStyleMap: (input: Input, styleMap: string) => Promise<{toBuffer: () => Buffer}>; + embedStyleMap: (input: Input, styleMap: string) => Promise<{ + toArrayBuffer: () => ArrayBuffer, + toBuffer: () => Buffer, + }>; images: Images; } |
