github-url-detection icon indicating copy to clipboard operation
github-url-detection copied to clipboard

Add `typed-query-selector/strict` locally to ensure selectors are valid

Open fregante opened this issue 3 years ago • 0 comments

https://github.com/g-plane/typed-query-selector#strict-mode

This type should make TS fail if a selector is invalid. This would avoid:

  • https://github.com/refined-github/github-url-detection/pull/120#issuecomment-1177894837
  • https://github.com/refined-github/github-url-detection/commit/1a04193dc4f8809329e9c448c8d05b3e8094ad6d

cc @yakov116

fregante avatar Jul 24 '22 06:07 fregante