We should use template literal types for the various refs (KRefs, VRefs, ERefs) in the kernel. We used to do this, but it was too cumbersome at an earlier, messier stage of our codebase. Not confusing these values is important, and now is the time to tighten up our use of them.
We should use template literal types for the various refs (KRefs, VRefs, ERefs) in the kernel. We used to do this, but it was too cumbersome at an earlier, messier stage of our codebase. Not confusing these values is important, and now is the time to tighten up our use of them.