old_contents: import { CanvasMap } from "./canvas-map";
  
  export default class StaticCanvasMap {
    init() {
      this.map.init();
    }
  
    paint() {
      this.map.paint();
    }
  }
  
new_contents: import { CanvasMap } from "./canvas-map";
  
  export default class StaticCanvasMap {
    constructor(parameters) {
      this.map = new CanvasMap(parameters);
    }
  
    init() {
      this.map.init();
    }
  
    paint() {
      this.map.paint();
    }
  }
  
subject: Declare constructor