ERROR : QUACK is not a generic definition. What now?

var enemyUnit : GameObject;
var enemyAIScript : EnemyAI;
var enemyHuntScript : EnemyHunt;
function Start(){
//Line18 enemyUnit = GameObject.FindGameObjectsWithTag(“Enemy”);
//Line19 enemyAIScript = enemyUnit.GetComponent.();
enemyHuntScript = enemyUnit.GetComponent.();
alert = false;
caution = false;
normal = true;
}

Help. I was just doing my thing editing a script when I got the error in the console

Enemies/RegularUnits/ControlAI.js(19,43): BCE0138: ‘quack’ is not a generic definition.

What do I do ? I dont even have anything called quack in my script

You’ve declared all your variables as if they were arrays and then you tried to acess them like they weren’t. Remove the after your variable types. eg, its not enemyunit : GameObject its enemyunit : GameObject OR acess your arrays properly. instead of saying enemyunit.Getcomponent say enemyunit[Insert index number here].getcomponent