From aff325f46ce8fd005d9371e4cf0f039a287dc669 Mon Sep 17 00:00:00 2001 From: Michael Mesquita Date: Thu, 25 Mar 2021 16:24:15 -0400 Subject: [PATCH] Ran prettier on ts file --- src/index.ts | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/src/index.ts b/src/index.ts index e0ac23e..8ea906f 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,20 +1,25 @@ -'use strict;' +"use strict;"; // Importing Bootstrap Collapse and ScrollSpy // Tree-shaking! -import { Collapse, ScrollSpy } from 'bootstrap'; +import { Collapse, ScrollSpy } from "bootstrap"; console.log("Modules Loaded"); // Enable collapse elements -let collapseElementList:Array = [].slice.call(document.querySelectorAll('.collapse')); -let collapseList:Array = collapseElementList.map(function (collapseEl) { - return new Collapse(collapseEl, { - toggle: false - }); +let collapseElementList: Array = [].slice.call( + document.querySelectorAll(".collapse") +); + +let collapseList: Array = collapseElementList.map(function ( + collapseEl +) { + return new Collapse(collapseEl, { + toggle: false, + }); }); // Enabling ScrollSpy -let scrollSpyElements:ScrollSpy = new ScrollSpy(document.body, { - target: '#navbarContent' +let scrollSpyElements: ScrollSpy = new ScrollSpy(document.body, { + target: "#navbarContent", });