3.2.1 ā¢ Published 2 years ago
@putout/plugin-remove-duplicate-interface-keys v3.2.1
@putout/plugin-remove-duplicate-interface-keys
šPutout
plugin adds ability to find and remove duplecate interface-keys.
Moved to @putout/plugin-typescript
Install
npm i @putout/plugin-remove-duplicate-interface-keys
Rule
{
"rules": {
"remove-duplicate-interface-keys": "on"
}
}
ā Incorrect code example
interface Hello {
'hello': any
'hello': string
}
ā Correct code Example
interface Hello {
'hello': string
}
License
MIT