15 lines
483 B
TypeScript
15 lines
483 B
TypeScript
/// <reference types="vite/client" />
|
|
|
|
declare module '*.vue' {
|
|
import type { DefineComponent } from '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[] }>
|
|
}
|