🐞 Describe the Bug
Doesn't drop export default on template only components using satisfies.
🔬 Minimal Reproduction
With default config:
import type { TOC } from '@ember/component/template-only';
export default <template>{{@value}}<template> satisfies TOC<{ Args: { value: string }}>
😕 Actual Behavior
Doesn't drop export default
🤔 Expected Behavior
Should drop export default
🌍 Environment
- prettier-plugin-ember-template-tag version: 2.0.5
➕ Additional Context
NOTE that if you prefer your default export TOCs to always use export default by enabling the templateExportDefault option, so we don't need to debate the virtue of export default here.
🐞 Describe the Bug
Doesn't drop
export defaulton template only components using satisfies.🔬 Minimal Reproduction
With default config:
😕 Actual Behavior
Doesn't drop
export default🤔 Expected Behavior
Should drop
export default🌍 Environment
➕ Additional Context
NOTE that if you prefer your default export TOCs to always use
export defaultby enabling thetemplateExportDefaultoption, so we don't need to debate the virtue ofexport defaulthere.