@rx-angular/cdk
Version:
@rx-angular/cdk is a Component Development Kit for ergonomic and highly performant angular applications. It helps to to build Large scale applications, UI libs, state management, rendering systems and much more. Furthermore the unique way of mixing reacti
14 lines (13 loc) • 574 B
TypeScript
/**
* @description
*
* This function returns the zone un-patched API for the a specific Browser API.
* If no target is passed the window is used instead
*
* @param name - The name of the API to check.
* @param target - The target to get un-patched API from.
* @return {Function} - The zone un-patched API in question.
*
*/
export declare function getZoneUnPatchedApi<N extends keyof (Window & typeof globalThis)>(name: N): (Window & typeof globalThis)[N];
export declare function getZoneUnPatchedApi<T extends object, N extends keyof T>(target: T, name: N): T[N];