Since @types/lodash-es requires @types/lodash, @types/lodash is always suggested as import for lodash functions.
How could I enforce on a project to only use @types/lodash-es ?
I know I could use the es-lint no-restricted-imports rule :
'no-restricted-imports': [
'error',
{ patterns: ['lodash'] },
],
But is there some other way ?