This code was valid for typescript 3, but in typescript 4 it produces an error
\'smth\' is defined as a property in class \'A\', but is overridden here in \'