@embrace-io/web-sdk
Version:
13 lines • 559 B
text/typescript
//#region src/utils/getSelector.d.ts
/**
* This file was retrieved on 25 May 2026 from
* https://github.com/GoogleChrome/web-vitals/blob/dc31a21/src/lib/getSelector.ts
*
* We want the selectors from our own instrumentation to match those generated by
* web-vitals, however the web-vitals library does not expose this function. Copying
* the function verbatim was agreed as the best approach for selector parity.
*/
declare const getSelector: (node: Node | null) => string;
//#endregion
export { getSelector };
//# sourceMappingURL=getSelector.d.cts.map