import-js/eslint-plugin-import
在 GitHub 查看`import/consistent-type-specifier-style` for exports
Open
#3,044 建立於 2024年9月2日
enhancementhelp wanted
描述
Like import/consistent-type-specifier-style, but for exports.
Example:
❌ Invalid with ["error", "prefer-top-level"]
export {Foo, type Bar};
✅ Valid with ["error", "prefer-top-level"]
export type {Bar};
export {Foo};