diff --git a/src/Stream.tsx b/src/Stream.tsx index 4676962..aafb000 100644 --- a/src/Stream.tsx +++ b/src/Stream.tsx @@ -8,7 +8,7 @@ import React, { useMemo, MutableRefObject, } from "react"; -import { StreamPlayerApi, StreamProps, VideoDimensions } from "types"; +import { StreamPlayerApi, StreamProps, VideoDimensions } from "./types"; import { useStreamSDK, safelyAccessStreamSDK } from "./useStreamSDK"; import { useIframeSrc } from "./useIframeSrc"; import { validSrcUrl } from "./validSrcUrl"; diff --git a/tsconfig.json b/tsconfig.json index 954fa24..abb923c 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -19,8 +19,7 @@ "moduleResolution": "node", "baseUrl": "./", "paths": { - "@": ["./"], - "*": ["src/*", "node_modules/*"] + "*": ["node_modules/*"] }, "jsx": "react", "esModuleInterop": true