Files
Construct/packs/BP/scripts/lib/AddonAPIKit/APIController.js
T
2026-05-29 23:27:11 +02:00

13 lines
314 B
JavaScript

export class APIController {
#endpoints;
constructor(endpoints) {
if (this.constructor === APIController)
throw new Error("Cannot instantiate abstract class 'APIController'");
this.#endpoints = endpoints;
}
get endpoints() {
return this.#endpoints;
}
}