ENGLISH·COURSE API
    Preparing search index...
    BeforeInstallPromptEvent: Event & { prompt: () => Promise<unknown> }

    Chromium's non-standard install offer.

    Type Declaration

    • prompt: () => Promise<unknown>

      Opens the browser's own install dialog. Usable once.

    Not in lib.dom, because no standard describes it: it is a Chromium extension, and Firefox and WebKit fire nothing of the kind. It is declared here and read here, so the rest of the app never touches a browser API that may not exist.

    userChoice is deliberately absent. The application does not assert whether the install happened — that outcome belongs to a dialog it does not draw — so typing the promise would only invite someone to await it.