UNPKG

eslint-plugin-perfectionist

Version:

ESLint plugin for sorting various data such as objects, imports, types, enums, JSX props, etc.

9 lines (8 loc) 280 B
/** * 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 }