typescript export type vs export interface code example Example: export interface typescript interface Props {} export interface IRefered { name: string }