When using MessageFormat translations such as:
console.log(_t("someContext_{NUM, plural, one{1 hamburger} other{# hamburgers}}", { NUM: 2 }));
the following warning is generated:
Expected '===' and instead saw '=='
at the following return line:
var es = function(n, ord) {
if (ord) return 'other';
return (n == 1) ? 'one' : 'other';
};
Perhaps the messageformat dependency needs to be updated?
Context: using the latest version of create-react-app
When using MessageFormat translations such as:
console.log(_t("someContext_{NUM, plural, one{1 hamburger} other{# hamburgers}}", { NUM: 2 }));
the following warning is generated:Expected '===' and instead saw '=='
at the followingreturn
line:Perhaps the messageformat dependency needs to be updated? Context: using the latest version of create-react-app