UNPKG

eslint-plugin-perfectionist

Version:

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

8 lines (7 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`. */ export declare function assertIsNever(_member: never): void