tháinigh
This spelling is found chiefly in the Munster dialect, where the ending -igh (which is very common in verbs) is pronounced exactly the same as -ig.