* Remove a DOMPurify hook at a given entryPoint * (pops it from the stack of hooks if hook not specified) * * @param entryPoint entry point for the hook to remove * @param hookFunction optional specific hook to remove * @returns removed hook
(
entryPoint: BasicHookName,
hookFunction?: NodeHook
)
| 159 | * @returns removed hook |
| 160 | */ |
| 161 | removeHook( |
| 162 | entryPoint: BasicHookName, |
| 163 | hookFunction?: NodeHook |
| 164 | ): NodeHook | undefined; |