Add a new eslint rule and refactor the extension.
'@typescript-eslint/consistent-type-imports': [ 'error', { prefer: 'type-imports' }, ],