import { Controller } from "@hotwired/stimulus" import { bindTimestamp } from "../src/application_methods" // Connects to data-controller="timestamp" export default class extends Controller { connect() { bindTimestamp(this.element as HTMLElement) } }