UNPKG

ntms

Version:

A dead simple way to add i18n to your Next.js app using the Notion API and Deepl

11 lines (10 loc) 261 B
import { target_lang } from "./types"; export interface deeplResponse { translations: [ { text: string; } ]; } declare const deepl: (html: string, target_lang: target_lang) => Promise<string>; export default deepl;