Lately, I've been facing a challenge in figuring out the best approach to organizing directives in TypeScript. While there are several solutions available online, I must admit that I am uncertain about which one to go with as they all seem effective.
Can someone suggest a recommended structure for a directive implementation?
Note: My project is built on AngularJS 1.