Could matchMedia be added as a function to the `Window` type? https://developer.mozilla.org/en-US/docs/Web/API/Window/matchMedia