Knockout: Made arrayIndexOf generic

Not the largest change in the history of DefinitelyTyped...