From 68866602e6f9096ec8850d80e4d4a62074fc867c Mon Sep 17 00:00:00 2001 From: Eugene Terehov Date: Mon, 7 Aug 2023 21:31:48 +0200 Subject: [PATCH] Prettier --- src/index.browser.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/index.browser.ts b/src/index.browser.ts index f08ceba..f5cb621 100644 --- a/src/index.browser.ts +++ b/src/index.browser.ts @@ -9,7 +9,9 @@ export { BrowserRuntime }; export class Logger extends BaseLogger { constructor(settings?: ISettingsParam, logObj?: LogObj) { const isBrowser = ![typeof window, typeof document].includes("undefined"); - const isBrowserBlinkEngine = isBrowser ? ((window?.["chrome"] || (window.Intl && ((Intl as unknown as { v8BreakIterator: unknown })?.v8BreakIterator))) && "CSS" in window) != null : false; + const isBrowserBlinkEngine = isBrowser + ? ((window?.["chrome"] || (window.Intl && (Intl as unknown as { v8BreakIterator: unknown })?.v8BreakIterator)) && "CSS" in window) != null + : false; const isSafari = isBrowser ? /^((?!chrome|android).)*safari/i.test(navigator.userAgent) : false; settings = settings || {};