diff --git a/demo/js/mediaSession.ts b/demo/js/mediaSession.ts index 8ddcc519..1ca84c32 100644 --- a/demo/js/mediaSession.ts +++ b/demo/js/mediaSession.ts @@ -1,5 +1,5 @@ -import WebampLazy from "../webampLazy"; -import { LoadedURLTrack } from "../types"; +import WebampLazy from "../../js/webampLazy"; +import { LoadedURLTrack } from "../../js/types"; export default function enableMediaSession(webamp: WebampLazy) { if ("mediaSession" in navigator) { diff --git a/demo/js/screenshotInitialState.ts b/demo/js/screenshotInitialState.ts index f24cc0f2..54cc3b39 100644 --- a/demo/js/screenshotInitialState.ts +++ b/demo/js/screenshotInitialState.ts @@ -1,5 +1,5 @@ import { DeepPartial } from "redux"; -import { AppState } from "../types"; +import { AppState } from "../../js/types"; const defaultTracksState = { "0": { diff --git a/tsconfig.json b/tsconfig.json index 7107d1a7..641d2b01 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -12,6 +12,6 @@ "noEmit": true, "pretty": true }, - "include": ["js/**/*.js", "js/**/*.ts"], + "include": ["**/*.js", "**/*.ts", "**/*.tsx"], "exclude": ["node_modules", "**/*.spec.ts"] }