score:1

Accepted answer

You have to initialize your keys array on declaration to avoid the error :

public keys : any[] = [];

Related Query

More Query from same tag