1681-engine / updates / validManifest
Function: validManifest() ​
ts
function validManifest(m): m is WebManifest;Defined in: src/updates/manifest.ts:87
A manifest whose shape may be trusted: every path safe and listed once, every hash a sha256, every size a number, and an index.html (a web without one cannot be loaded, and a truncated upload is the usual way to get one).
Parameters ​
| Parameter | Type |
|---|---|
m | unknown |
Returns ​
m is WebManifest