How to create Custom Type in Angular?
Kirtesh Shah
Select an image from your device to upload
Syntax:
type Test = { name: string; val: string[];};
Example:
const ada: Test = { name: ‘Testing’, val: [‘xxx’, ‘yyy’, ‘zzz’]};