Files
routie/frontend/node_modules/eslint-plugin-perfectionist/dist/utils/assert-is-never.js
T

9 lines
280 B
JavaScript

/**
* Assert that the given member is of type `never`. This is useful for
* exhaustive checks in switch statements or conditional logic.
*
* @param _member - The member to check, which should be of type `never`.
*/
function assertIsNever(_member) {}
export { assertIsNever }