interface TranslateTextInput {
    translateText: {
        source: {
            language?: string;
            text: string;
        };
        targetLanguage?: string;
    };
}

Properties

Properties

translateText: {
    source: {
        language?: string;
        text: string;
    };
    targetLanguage?: string;
}

Type declaration

  • source: {
        language?: string;
        text: string;
    }
    • Optional language?: string
    • text: string
  • Optional targetLanguage?: string