diff --git a/src/App.vue b/src/App.vue index 11eaf3c..391b6cd 100644 --- a/src/App.vue +++ b/src/App.vue @@ -26,7 +26,7 @@ import { computed, ref, Ref } from 'vue'; import package_info from '../package.json'; -import { Message } from '../types/messages'; +import type { Message } from '../types/messages.js'; import PrinterCard, { PrinterInfo } from './PrinterCard.vue'; import GitSourceCorner from './GitSourceCorner.vue'; diff --git a/src/PrinterCard.vue b/src/PrinterCard.vue index 2665b94..798cbc4 100644 --- a/src/PrinterCard.vue +++ b/src/PrinterCard.vue @@ -59,8 +59,8 @@ import 'video.js/dist/video-js.css'; import { computed, Ref, ref, watchEffect } from 'vue'; import prettyMilliseconds from 'pretty-ms'; -import { CurrentOrHistoryPayload } from '../types/octoprint'; -import { OctoprintColor } from '../types/messages'; +import type { CurrentOrHistoryPayload } from '../types/octoprint.js'; +import type { OctoprintColor } from '../types/messages.js'; export interface Props { slug: string; diff --git a/tsconfig.json b/tsconfig.json index 78eb645..cc9fcd7 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -3,7 +3,6 @@ "target": "esnext", "useDefineForClassFields": true, "module": "node16", - "moduleResolution": "node", "strict": true, "jsx": "preserve", "sourceMap": true,