Skip to content
This repository has been archived by the owner on Aug 1, 2024. It is now read-only.

Commit

Permalink
Fix return type of bidi.estimateDirection making it non-nullable
Browse files Browse the repository at this point in the history
RELNOTES: Fix return type of bidi.estimateDirection making it non-nullable

PiperOrigin-RevId: 573947967
Change-Id: Iff685319dabb8704215ea2f7db59abf89d9346c2
  • Loading branch information
Closure Team authored and copybara-github committed Oct 16, 2023
1 parent 1645655 commit 0d779e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion closure/goog/i18n/bidi.js
Original file line number Diff line number Diff line change
Expand Up @@ -812,7 +812,7 @@ goog.i18n.bidi.rtlDetectionThreshold_ = 0.40;
* @param {string} str The string to be checked.
* @param {boolean=} opt_isHtml Whether str is HTML / HTML-escaped.
* Default: false.
* @return {goog.i18n.bidi.Dir} Estimated overall directionality of `str`.
* @return {!goog.i18n.bidi.Dir} Estimated overall directionality of `str`.
*/
goog.i18n.bidi.estimateDirection = function(str, opt_isHtml) {
'use strict';
Expand Down

0 comments on commit 0d779e6

Please sign in to comment.