How can I determine if two objects are of the same type (ie the same class)? The objects can be any of about 20 different classes so I don't want a giant test going, both instanceof A, both instanceof B, ... But there's no GetType()/getClass() in typescript.
thanks - dave