how to declare interface in javascript 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;