js-partial-classes
Version:
A utility package for supplementing main classes with methods from partial classes, supporting both static and instance methods.
17 lines (14 loc) • 319 B
JavaScript
/**
* Test partial class for basic functionality testing
*/
export default class TestPartialClass {
static staticMethod() {
return 'Static method from partial';
}
instanceMethod() {
return 'Instance method from partial';
}
anotherInstanceMethod() {
return 'Another instance method';
}
}