DetachHead

Results 929 comments of DetachHead

maybe all three of them should be optional like in [`import/no-extraneous-dependencies`](https://github.com/import-js/eslint-plugin-import/blob/main/docs/rules/no-extraneous-dependencies.md)?

maybe `exactly` can still be useful since it can do runtime checks as well

thanks! another question: is there any equivalent type for `null` or `undefined` in (fonto)xpath? currently get this error when the function returns `null` or `undefined`: ``` Error: The JavaScript value...

mypy doesnt need to be changed to accommodate for the `ReifiedGenerics` i'm adding to basedtyping

actually it does, since `isinstance` and `issubclass` have hardcoded functionality in mypy so we need to add logic to not show this error if it's a `ReifiedGeneric` ```py isinstance(Reified[int, str](),...

i was originally going to makeour own `is_instance` function using a `TypeGuard` ```py _T_type = TypeVar("_T_type", bound=type) @overload def is_instance(__obj: object, __class_or_tuple: _T_type) -> TypeGuard[_T_type]: ... @overload def is_instance( __obj:...

perhaps, but i prefer using existing functionality instead of intrinsic hidden behavior where possible. the fact that `isinstance` and `issubclass` don't even use `TypeGuard`s seems very sus to me

its useful for stuff like this ```py def TODO(message: str) -> Never: raise NotImplementedError(message) foo: int = TODO("sorry, im still learning. try again in a few minutes") ```