export interface Foo {}
with
module.exports = {
extends: [
'plugin:import/errors',
'plugin:import/warnings',
'plugin:import/typescript',
],
rules: {
'import/no-unused-modules': ['error', { missingExports: true }],
}
}
produces No exports found error by import/no-unused-modules.
Expected:
No error.
Seems like we'll have to handle files that only export types.
is there a workaround for files that only export interfaces?
Given that an interface is a type, that would be the sole task this issue needs help with :-)
Most helpful comment
Seems like we'll have to handle files that only export types.