9 lines
183 B
TypeScript
9 lines
183 B
TypeScript
declare module 'opencc-js' {
|
|
interface ConverterOptions {
|
|
from: string;
|
|
to: string;
|
|
}
|
|
|
|
export function Converter(options: ConverterOptions): (text: string) => string;
|
|
}
|