So close to being finished, SO STUCK

So I have a project due tuesday, it didn't seem too difficult, but when I sent my teacher my errors which are as follows
In file included from indexList.h:78,
from indexListApp.cpp:9:
*indexList.cpp:33: error: ISO C++ forbids declaration of `operator=' with no type*
indexList.cpp:33: error: prototype for `int indexList<T>::operator=(const indexList<T>&)' does not match any in class `indexList<T>'
indexList.h:28: error: candidate is: indexList<T>& indexList<T>::operator=(const indexList<T>&)
indexList.cpp:33: error: template definition of non-template `int indexList<T>::operator=(const indexList<T>&)'

She then replied

The prototype for the operator= is wrong. There should not be a T before the indexList on the return type

I've e-mailed her back but she has stopped replying, I don't know if anyone here will understand what she meant, as far as I can tell the operator= is right, it says there shouldn't be a T before the indexList on the return type, so I removed a T that was in front of the assignment operator overloader function. Removing that T creating the error with * * on either both sides of it, with the T there, the * * error doesn't appear