Read more on MDN
let disable: WebAPI.ServiceWorkerAPI.navigationPreloadManager => Promise.t< unit,>
let enable: WebAPI.ServiceWorkerAPI.navigationPreloadManager => Promise.t< unit,>
let getState: WebAPI.ServiceWorkerAPI.navigationPreloadManager => Promise.t< WebAPI.ServiceWorkerAPI.navigationPreloadState,>
let setHeaderValue: ( WebAPI.ServiceWorkerAPI.navigationPreloadManager, string,) => Promise.t<unit>