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();
  });
}

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();
  });
}
--- 
+++ 
@@ -2,7 +2,7 @@
 import $ from 'jquery';
 
 /**
- * This module sets up Bootstraps JavaScript
+ * This module sets up Bootstrap's JavaScript
  *
  * Inside of the exported function below, initialize Bootstrap
  * modules that require explicit initilization, like tooltips
Apply review suggestion by @raccube

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