anki/ts/lib/i18n/index.ts
Damien Elmes 4c76e3150b Move .ts i18n method generation to Rust
Based on a similar approach I used for AnkiDroid. The separate modules
file has been integrated into ftl.js.
2023-07-03 14:36:09 +10:00

12 lines
420 B
TypeScript

// Copyright: Ankitects Pty Ltd and contributors
// License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
export { ModuleName } from "../../../out/ts/lib/ftl";
export * from "./bundles";
export * from "./utils";
// this is an ugly hack to inject code into a generated module
import { funcs } from "../../../out/ts/lib/ftl";
import { getMessage } from "./bundles";
funcs.getMessage = getMessage;