import {Controller} from '@hotwired/stimulus'; export default class extends Controller { static targets: Array = ['container']; declare readonly containerTarget: HTMLElement; // eslint-disable-next-line @typescript-eslint/no-unused-vars afterLoad(identifier: string, application: HTMLElement): void { console.log(this.containerTarget); } }