diff --git a/.eslintrc.cjs b/.eslintrc.cjs index eb5c3e2318b..198153defc3 100644 --- a/.eslintrc.cjs +++ b/.eslintrc.cjs @@ -63,6 +63,7 @@ module.exports = defineConfig({ 'error', { default: 'array-simple', readonly: 'generic' }, ], + '@typescript-eslint/consistent-type-exports': 'error', '@typescript-eslint/consistent-type-imports': 'error', '@typescript-eslint/explicit-module-boundary-types': 'error', '@typescript-eslint/naming-convention': [ diff --git a/test/scripts/apidoc/signature.example.ts b/test/scripts/apidoc/signature.example.ts index af04ee90f2f..c42d2d454ce 100644 --- a/test/scripts/apidoc/signature.example.ts +++ b/test/scripts/apidoc/signature.example.ts @@ -4,7 +4,7 @@ import type { AlphaNumericChar } from '../../../src/modules/string'; import type { LiteralUnion } from '../../../src/utils/types'; // explicitly export types so they show up in the docs as decomposed types export type { NumberColorFormat, StringColorFormat } from '../../../src'; -export { AlphaNumericChar, Casing, ColorFormat, LiteralUnion }; +export type { AlphaNumericChar, Casing, ColorFormat, LiteralUnion }; /** * Parameter options type with default from signature.