From 45869d63aefe8ca99e390e443afb7292f6be5b69 Mon Sep 17 00:00:00 2001 From: Andrei Horodinca Date: Tue, 6 Nov 2018 09:21:55 +0100 Subject: [PATCH] Update import --- types/smooth-scroll/test/smooth-scroll.test.ts | 2 +- types/smooth-scroll/tsconfig.json | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/types/smooth-scroll/test/smooth-scroll.test.ts b/types/smooth-scroll/test/smooth-scroll.test.ts index 894790f744..cb29191943 100644 --- a/types/smooth-scroll/test/smooth-scroll.test.ts +++ b/types/smooth-scroll/test/smooth-scroll.test.ts @@ -1,4 +1,4 @@ -import * as SmoothScroll from "smooth-scroll"; +import SmoothScroll from "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 8d1fa8372b..a6ebdde30b 100644 --- a/types/smooth-scroll/tsconfig.json +++ b/types/smooth-scroll/tsconfig.json @@ -10,7 +10,8 @@ "typeRoots": ["../"], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts",