import 'bootstrap';
import $ from 'jquery';

/**
 * This module sets up Bootstraps JavaScript
 *
 * Inside of the exported function below, initialize Bootstrap
 * modules that require explicit initilization, like tooltips
 */
export default function (): void {
  $(document).ready(() => {
    $('[data-toggle="tooltip"]').tooltip();
    $('.dropdown-toggle').dropdown();
  });
}
import 'bootstrap';
import $ from 'jquery';

/**
 * This module sets up Bootstrap's JavaScript
 *
 * Inside of the exported function below, initialize Bootstrap
 * modules that require explicit initilization, like tooltips
 */
export default function (): void {
  $(document).ready(() => {
    $('[data-toggle="tooltip"]').tooltip();
    $('.dropdown-toggle').dropdown();
  });
}

Apply review suggestion by @raccube
Apply review suggestion by @raccube

Co-authored-by: Dominik M. Kwiatek <a279f78642aaf231facf94ac593d2ad2fd791699@users.noreply.github.com>