Skip to main content

Class to Named Function Converter

Convert static class methods to named functions with exports.

class MyClass implements MyInterface { method() { return 'test'; } }
method() { return 'test'; } //injection
method() {
return 'test';
}
//injection