All files / components/IntersectionObserver key.ts

100% Statements 6/6
100% Branches 0/0
100% Functions 0/0
100% Lines 6/6

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 71x 1x 1x 1x 1x 1x  
// We need a consistent key to store and retrieve the RootObserver in the context. An empty object
// works perfectly. Exporting it here means the exact same object can be imported by both
// IntersectionObserver and RootIntersectionObserver, and no component can use the RootObserver in
// the context without importing this key explicitly.
 
export default {};