You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The rule's description mentions it reports on the dual exports to help with CJS resolution. But is that just at runtime? Are there type-level reasons not to? I'm not aware of any.
Proposal: can the rule be made to ignore exports that are only in type-land (interface, type)?
The text was updated successfully, but these errors were encountered:
Coming over from readmeio/remove-undefined-objects#128 (comment): when a file has:
default
export of a value, such asexport default function stripEmptyObjects() { }
export interface RemovalOptions { }
...should the
readme/no-dual-exports
rule still trigger?The rule's description mentions it reports on the dual exports to help with CJS resolution. But is that just at runtime? Are there type-level reasons not to? I'm not aware of any.
Proposal: can the rule be made to ignore
export
s that are only in type-land (interface
,type
)?The text was updated successfully, but these errors were encountered: