Sign Up

Sign In

Forget Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

You must login to ask question.

Discy Latest Questions

  • 0

Is it possible to declare a component with a generic type in Angular 4? The following code causes build errors: export class MyGenericComponent<T> implements OnInit { @Input() data: BehaviorSubject<T[]>;//... } The error when executing ng serve is: ERROR in C:/.../my-generic.module.ts (5,10): Module '"C:/.../my-generic.component"' has no exported member 'MyGenericComponent'. Example: The ...

close