rviceWorkerRegistration</a> Js_of_ocaml.Js.t</span> <a href="../class-type-promise/index.html">promise</a></span> Js_of_ocaml.Js.t</span> Js_of_ocaml.Js.meth</span></code></dt><dt class="spec method" id="method-getRegistration"><a href="#method-getRegistration" class="anchor"></a><code><span class="keyword">method</span> getRegistration : <span><span><span><span><span><a href="../class-type-serviceWorkerRegistration/index.html">serviceWorkerRegistration</a> Js_of_ocaml.Js.t</span> Js_of_ocaml.Js.optdef</spa