[英]How can i convert this interface from C# to TypeScript?
It declares an interface that will recieve a generic entity and says that this generic entity is from the type BaseEntity它声明了一个将接收通用实体的接口,并说这个通用实体来自 BaseEntity 类型
public interface IBaseRepository<TEntity>
where TEntity : BaseEntity
interface IBaseRepository<TEntity extends BaseEntity> {
}
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.