Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
16 lines
550 B
Plaintext
16 lines
550 B
Plaintext
import { getPrivacyOptions } from './getPrivacyOptions';
|
|
interface MaskAttributeParams {
|
|
maskAttributes: string[];
|
|
maskAllText: boolean;
|
|
privacyOptions: ReturnType<typeof getPrivacyOptions>;
|
|
key: string;
|
|
value: string;
|
|
el: HTMLElement;
|
|
}
|
|
/**
|
|
* Masks an attribute if necessary, otherwise return attribute value as-is.
|
|
*/
|
|
export declare function maskAttribute({ el, key, maskAttributes, maskAllText, privacyOptions, value, }: MaskAttributeParams): string;
|
|
export {};
|
|
//# sourceMappingURL=maskAttribute.d.ts.map
|