I am trying to use generic type in @Input in angular component like this, @Input('list') list: <T>;
this is not working '(' expected.ts(1005) Public property 'list' of exported class has or is using private name ''.
Please help, how can I do it.
@Input('list') list: T;