为什么打字稿不支持接口中的私有成员?
以下场景如何处理?
interface IFoo { private member: {}; } class Foo implements IFoo { private member = {}; }
typescript
typescript ×1