9 lines
282 B
TypeScript
9 lines
282 B
TypeScript
import { ControllerResponse } from '../types/common.types.js';
|
|
|
|
export abstract class BaseController {
|
|
// Instance method (must be implemented by subclasses)
|
|
static capture(data: unknown): Promise<ControllerResponse> {
|
|
throw new Error(`Not implemented: capture: ${data}`);
|
|
}
|
|
}
|