ESLint plugin
This project is maintained by iliubinskii
ESLint plugin / typescript/no-never
Disallow “never” type.
module.exports = {
plugins: ["misc"],
rules: {
"misc/typescript/no-never": "error"
}
};
function f(value: "a" & "b") {}
function f(value: "a" | "b") {}