type

external val type: ClientTypes(source)

The type read-only property of the Client interface indicates the type of client the service worker is controlling.

MDN Reference