Resolve typescript eslint warning (#36314)

This commit is contained in:
Brad Dunbar authored and GitHub committed 2025-10-07 14:42:15 +00:00
1 parent da6ae98e57
commit c578a0cb74
4 files changed
+157 -5

No files matched your search

+1 -1
View File
@@ -19,7 +19,7 @@ export function loadPolyfills() {
return Promise.all([
loadIntlPolyfills(),
// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition -- those properties might not exist in old browsers, even if they are always here in types
needsExtraPolyfills && importExtraPolyfills(),
needsExtraPolyfills ? importExtraPolyfills() : Promise.resolve(),
loadEmojiPolyfills(),
]);
}