/**
 * defining an abstract class called `BaseRenderer` that takes a generic type `T` which
 * can be either an `SVGElement` or a `HTMLCanvasElement`
 */
export class BaseRenderer {
  /**
   * This is a constructor function that takes a parameter of type T and sets it as a protected property called "context".
   *
   * @param {unknown} context - The "context" parameter is a protected property of a class constructor that is
   * of type "T". It is used to store a reference to an object or data that is required by the class
   * methods to perform their tasks
   */
  constructor(context) {
    this.context = context;
  }
}
