Search code examples
servicestack

Typescript Generation explicitly adds inherited properties to inheriting class after updating to 8.1.2


I updated ServiceStack in a project from 8.0.0 to 8.1.2 yesterday. Before updating the Typescript generated by the NativeTypesService would look like this:

interface InheritedType {
  propertyName: string;
}

interface OtherType : InheritedType {}

But after updating this is produced:

interface InheritedType {
  propertyName: string;
}

interface OtherType : InheritedType {
  propertyName: string;
}

Is there some setting that has been added/changed?


Solution

  • This should now be resolved in the latest ServiceStack v8.1.3+ that's now available in Pre Release packages.