搜索增加简繁转换器
This commit is contained in:
8
src/types/opencc-js.d.ts
vendored
Normal file
8
src/types/opencc-js.d.ts
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
declare module 'opencc-js' {
|
||||
interface ConverterOptions {
|
||||
from: string;
|
||||
to: string;
|
||||
}
|
||||
|
||||
export function Converter(options: ConverterOptions): (text: string) => string;
|
||||
}
|
||||
Reference in New Issue
Block a user