Rather than use the proptypes-from-ts-props plugin to remove type exports from es build output, we should move towards using the type indicator syntax and upgrade any babel tooling to take advantage.
Before:
export { EuiButton, EuiButtonProps } from './button';
After:
export { EuiButton } from './button';
export type { EuiButtonProps } from './button';
eslint can be configured to replace these automatically.
Rather than use the
proptypes-from-ts-propsplugin to remove type exports fromesbuild output, we should move towards using thetypeindicator syntax and upgrade any babel tooling to take advantage.Before:
After:
eslintcan be configured to replace these automatically.