qwik icon indicating copy to clipboard operation
qwik copied to clipboard

dx: Allow typeof onGet for DocumentHead

Open nnelgxorz opened this issue 3 years ago • 0 comments

What is it?

  • [x] Feature / enhancement
  • [ ] Bug
  • [ ] Docs / tests

Description

Uses the same refinement type that is used in useLocation to allow typing DocumentHead with typeof onGet

Checklist:

  • [x] My code follows the developer guidelines of this project
  • [x] I have performed a self-review of my own code
  • [ ] I have made corresponding changes to the documentation
  • [ ] Added new tests to cover the fix / functionality

nnelgxorz avatar Aug 15 '22 02:08 nnelgxorz