From e034387d69edb9f20b6413ecd10b5ec214773d0b Mon Sep 17 00:00:00 2001 From: Andrei Horodinca Date: Tue, 6 Nov 2018 09:33:38 +0100 Subject: [PATCH] Update import --- types/smooth-scroll/test/smooth-scroll.test.ts | 2 +- types/smooth-scroll/tsconfig.json | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/types/smooth-scroll/test/smooth-scroll.test.ts b/types/smooth-scroll/test/smooth-scroll.test.ts index cb29191943..a64b8bd2d0 100644 --- a/types/smooth-scroll/test/smooth-scroll.test.ts +++ b/types/smooth-scroll/test/smooth-scroll.test.ts @@ -1,4 +1,4 @@ -import SmoothScroll from "smooth-scroll"; +import SmoothScroll = require("smooth-scroll"); // Initialize and destroy SmoothScroll const example1 = new SmoothScroll('a[href*="#"]', { diff --git a/types/smooth-scroll/tsconfig.json b/types/smooth-scroll/tsconfig.json index a6ebdde30b..8d1fa8372b 100644 --- a/types/smooth-scroll/tsconfig.json +++ b/types/smooth-scroll/tsconfig.json @@ -10,8 +10,7 @@ "typeRoots": ["../"], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts",