I\'m using TypeScript in my project and I have come across an issue. I\'m defining an interface like this:
interface IModuleMenuItem { name: string; }
The only way you can have an inner state and assign interface to that instead of class and make that state private
class A{ private state:IA = ... }