Currently, dikitgen expects that Injectable.Dependency is declared as a struct.
Structs can have computed properties and methods, but the type elements are not related to declaring dependencies. I think Injectable.Dependencyshould focus on expressing dependencies, and the other works should be done by other components.
To encourage developers to focus on defining dependencies, I'm planning to convert Injectable.Dependency to tuple type.
Currently,
dikitgenexpects thatInjectable.Dependencyis declared as a struct.Structs can have computed properties and methods, but the type elements are not related to declaring dependencies. I think
Injectable.Dependencyshould focus on expressing dependencies, and the other works should be done by other components.To encourage developers to focus on defining dependencies, I'm planning to convert
Injectable.Dependencyto tuple type.