Update import

This commit is contained in:
Andrei Horodinca
2018-11-06 09:21:55 +01:00
parent 34ea6caa86
commit 45869d63ae
2 changed files with 3 additions and 2 deletions
@@ -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*="#"]', {
+2 -1
View File
@@ -10,7 +10,8 @@
"typeRoots": ["../"],
"types": [],
"noEmit": true,
"forceConsistentCasingInFileNames": true
"forceConsistentCasingInFileNames": true,
"esModuleInterop": true
},
"files": [
"index.d.ts",