TypeLite中是否可以仅生成仅使用适当属性修饰的枚举值。在C#中我有:
public enum MyType : int
{
[AllowType]
General = 0,
CustomerCategory = 1,
[AllowType]
Company = 2,
}
在TypeScript中我需要:
export enum AsyncCommandState {
General = 0,
Company = 2
}