accept one or another interface ts code example
Example 1: export interface typescript
interface Props {}
export interface IRefered {
name: string
}
Example 2: interface ts one valu
// use type instead interface
type StringOrNull = string | null;