Fix imports for Typescript 5.2

This commit is contained in:
Adam Goldsmith 2023-09-14 13:11:14 -04:00
parent 6621696e03
commit 5766009a44
3 changed files with 3 additions and 4 deletions

View File

@ -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';

View File

@ -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;

View File

@ -3,7 +3,6 @@
"target": "esnext",
"useDefineForClassFields": true,
"module": "node16",
"moduleResolution": "node",
"strict": true,
"jsx": "preserve",
"sourceMap": true,