Add typing utility module
Add a typing utility module with a helper function to "cast" the input so that TS understands that it is not null/undefined. This is useful in situations where logic would prevent a reference from being empty but TS can't follow that logic.
Showing
src/sidebar/util/typing.js
0 → 100644
Please register or sign in to comment