搜索增加简繁转换器

This commit is contained in:
mtvpls
2026-01-12 23:28:48 +08:00
parent fd9d911583
commit 3f610124e7
5 changed files with 155 additions and 8 deletions

8
src/types/opencc-js.d.ts vendored Normal file
View File

@@ -0,0 +1,8 @@
declare module 'opencc-js' {
interface ConverterOptions {
from: string;
to: string;
}
export function Converter(options: ConverterOptions): (text: string) => string;
}