This commit is contained in:
Mariano Gabriel
2026-07-05 11:26:45 -03:00
parent 300806b936
commit 7b276e8f3d
6 changed files with 402 additions and 64 deletions

View File

@@ -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[] }>
}