i18next-browser-language-detector: Remove unnecessary non-null assertion (#30320)

This commit is contained in:
Andy
2018-11-06 11:27:11 -08:00
committed by GitHub
parent 307a9a0181
commit 7b7d150cc7
@@ -19,7 +19,7 @@ const options: LngDetector.DetectorOptions = {
cookieDomain: "myDomain",
// optional htmlTag with lang attribute, the default is:
htmlTag: document.documentElement!
htmlTag: document.documentElement
};
i18next.use(LngDetector).init({