validatePayload
Checks that a loaded content module has the expected shape and id.
DeclarationTypeScript
function validatePayload (payload: unknown, expectedId: string): NgDocContentModule ;Returns
Parameters
| Name | Type | Description |
|---|---|---|
| payload | unknown | The loaded value. |
| expectedId | string | The id of the source that loaded it. |