diff --git a/packages/language/src/v1beta1/index.js b/packages/language/src/v1beta1/index.js index 3c863f6d5000..bfbbb5565c23 100644 --- a/packages/language/src/v1beta1/index.js +++ b/packages/language/src/v1beta1/index.js @@ -4,7 +4,7 @@ var languageServiceApi = require('./language_service_api'); function v1beta1(options) { return languageServiceApi(options); -}; +} v1beta1.SERVICE_ADDRESS = languageServiceApi.SERVICE_ADDRESS; v1beta1.ALL_SCOPES = languageServiceApi.ALL_SCOPES; diff --git a/packages/language/src/v1beta1/language_service_api.js b/packages/language/src/v1beta1/language_service_api.js index 3cdc475e7a78..6f8c0bedf8ec 100644 --- a/packages/language/src/v1beta1/language_service_api.js +++ b/packages/language/src/v1beta1/language_service_api.js @@ -242,7 +242,7 @@ module.exports = function build(options) { return this._annotateText(req, args.options, args.callback); }; return built; -} +}; -module.exports.SERVICE_ADDRESS; -module.exports.ALL_SCOPES; \ No newline at end of file +module.exports.SERVICE_ADDRESS = SERVICE_ADDRESS; +module.exports.ALL_SCOPES = ALL_SCOPES; \ No newline at end of file