Skip to content

Commit 6f803ad

Browse files
authored
Merge pull request #1989 from usablica/fix-type-imports
Fixing TypeScript types and import statements
2 parents cfff59d + 71bfe95 commit 6f803ad

20 files changed

+57
-22
lines changed

src/core/DOMEvent.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { IntroJs } from "src/intro";
1+
import { IntroJs } from "../intro";
22
import stamp from "../util/stamp";
33

44
/**

src/core/addOverlayLayer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import exitIntro from "./exitIntro";
22
import createElement from "../util/createElement";
33
import setStyle from "../util/setStyle";
4-
import { IntroJs } from "src/intro";
4+
import { IntroJs } from "../intro";
55

66
/**
77
* Add overlay layer to the page

src/core/dontShowAgain.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { IntroJs } from "src/intro";
1+
import { IntroJs } from "../intro";
22
import { deleteCookie, getCookie, setCookie } from "../util/cookie";
33

44
const dontShowAgainCookieValue = "true";

src/core/exitIntro.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import onKeyDown from "./onKeyDown";
33
import onResize from "./onResize";
44
import removeShowElement from "./removeShowElement";
55
import removeChild from "../util/removeChild";
6-
import { IntroJs } from "src/intro";
6+
import { IntroJs } from "../intro";
77
import isFunction from "../util/isFunction";
88

99
/**

src/core/fetchIntroSteps.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { IntroJs } from "src/intro";
1+
import { IntroJs } from "../intro";
22
import cloneObject from "../util/cloneObject";
33
import createElement from "../util/createElement";
44
import { IntroStep, ScrollTo, TooltipPosition } from "./steps";

src/core/hint.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import placeTooltip from "./placeTooltip";
1010
import createElement from "../util/createElement";
1111
import debounce from "../util/debounce";
1212
import { HintPosition, HintStep, TooltipPosition } from "./steps";
13-
import { IntroJs } from "src/intro";
13+
import { IntroJs } from "../intro";
1414
import isFunction from "../util/isFunction";
1515

1616
/**

src/core/introForElement.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { nextStep } from "./steps";
44
import onKeyDown from "./onKeyDown";
55
import onResize from "./onResize";
66
import fetchIntroSteps from "./fetchIntroSteps";
7-
import { IntroJs } from "src/intro";
7+
import { IntroJs } from "../intro";
88
import isFunction from "../util/isFunction";
99

1010
/**

src/core/onKeyDown.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { nextStep, previousStep } from "./steps";
22
import exitIntro from "./exitIntro";
3-
import { IntroJs } from "src/intro";
3+
import { IntroJs } from "../intro";
44
import isFunction from "../util/isFunction";
55

66
/**

src/core/onResize.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { IntroJs } from "src/intro";
1+
import { IntroJs } from "../intro";
22
import refresh from "./refresh";
33

44
export default function onResize(intro: IntroJs) {

src/core/placeTooltip.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import checkRight from "../util/checkRight";
55
import checkLeft from "../util/checkLeft";
66
import removeEntry from "../util/removeEntry";
77
import { HintStep, IntroStep, TooltipPosition } from "./steps";
8-
import { IntroJs } from "src/intro";
8+
import { IntroJs } from "../intro";
99

1010
/**
1111
* auto-determine alignment

0 commit comments

Comments
 (0)