Is it possible to enforce constructor parameter types with `extends` or `implements` in TypeScript?
问题 I've looked at all the following: Abstract constructor type in TypeScript How does `type Constructor<T> = Function & { prototype: T }` apply to Abstract constructor types in TypeScript? Abstract Constructor on Abstract Class in TypeScript The third is the closest to what I'm looking for, but (unfortunately) the answer was more for the specific issue and less for the question title. This is (in a simplified sense) what I'd like to be able to do: abstract class HasStringAsOnlyConstructorArg {