We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d064e89 commit 16480fbCopy full SHA for 16480fb
1 file changed
packages/translate/src/index.js
@@ -53,6 +53,14 @@ var PKG = require('../package.json');
53
*
54
* @param {object} options - [Configuration object](#/docs).
55
* @param {string} options.key - An API key.
56
+ *
57
+ * @example
58
+ * //-
59
+ * // <h3>Custom Translate API</h3>
60
+ * //
61
+ * // The environment variable, `GOOGLE_CLOUD_TRANSLATE_ENDPOINT`, is honored as
62
+ * // a custom backend which our library will send requests to.
63
64
*/
65
function Translate(options) {
66
if (!(this instanceof Translate)) {
0 commit comments