Interface names MUST be written in PascalCase.
Interface names MUST NOT be prefixed with I.
Type alias names MUST be written in PascalCase.
Example (Correct):
interface Product {
id: number
name: string
price: number
}
type ProductId = number
type OrderStatus = 'pending' | 'processing' | 'completed'
Example (Incorrect):
interface IProduct {}
interface productInterface {}