github-url-detection
github-url-detection copied to clipboard
Add `typed-query-selector/strict` locally to ensure selectors are valid
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