freshgum-bubbles / typedi

Elegant Dependency Injection in TypeScript and JavaScript.
http://typedi.js.org/
MIT License
46 stars 3 forks source link

ESService doesn't support static properties and methods #194

Open freshgum-bubbles opened 2 months ago

freshgum-bubbles commented 2 months ago

The following does not work:

@ESService([])
class ClassWithStaticMethodsAndProperties {
  static property = true;

  static get getter () {
    return 'value';
  }

  static method () { }
}