Typescript class to YAML - Can I persist order of properties?

前端 未结 0 1165
甜味超标
甜味超标 2020-12-02 06:14

I have defined class:

export class Item {
    id: string;
    name: string;
    Items: Item[];
}

in my code I assign properties like this:

相关标签:
回答
  • 消灭零回复
提交回复
热议问题