viewers
This commit is contained in:
7
ui/doocus-app/src/env.d.ts
vendored
7
ui/doocus-app/src/env.d.ts
vendored
@@ -5,3 +5,10 @@ declare module '*.vue' {
|
||||
const component: DefineComponent<Record<string, unknown>, Record<string, unknown>, unknown>
|
||||
export default component
|
||||
}
|
||||
|
||||
// mammoth ships a browser bundle without bundled types for that entry point.
|
||||
declare module 'mammoth/mammoth.browser' {
|
||||
export function convertToHtml(
|
||||
input: { arrayBuffer: ArrayBuffer },
|
||||
): Promise<{ value: string; messages: unknown[] }>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user