In short, it depends :-)
In some cases, differents engines are viewed has different types but most often it is considered a variant of the same type.
In the past, some CAA's consider 737-200 (rounds and dials classic type) and 737-EFIS to be two different types altough others consider it to be two differents variants of the same type.
My 2 cents