Skip to content

Safari が対応したら top level await を許可する #5187

@KentaHizume

Description

@KentaHizume

概要

Safari で完全にサポートされていないので、 top level await のかわりに IIFE 構文を使用している箇所がある。
下記の修正によりこの不具合が解消されたようなので、

Can I Use のデータの状況を定期的に確認し、サポートされていたら top level await にする。

/* eslint @typescript-eslint/no-floating-promises: ["error", { "ignoreIIFE": true }] */
--
// Safari および Safari on iOS で top-level await が Partial support のため、
// 代替として即時実行関数式 ( IIFE ) で記述を許可するよう ESLint の設定を変更します。
// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/await#browser_compatibility

完了条件

ここにこの Issue の完了条件を箇条書きで記載します。

Metadata

Metadata

Assignees

No one assigned

    Labels

    定期的な確認が必要他のサービスの不具合亜解消待ちなど、定期的な情報のアップデートが必要である

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions