mirror of
https://github.com/ad1217/PrinterStatus
synced 2024-11-26 17:24:39 -05:00
Fix imports for Typescript 5.2
This commit is contained in:
parent
6621696e03
commit
5766009a44
@ -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';
|
||||
|
||||
|
@ -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;
|
||||
|
@ -3,7 +3,6 @@
|
||||
"target": "esnext",
|
||||
"useDefineForClassFields": true,
|
||||
"module": "node16",
|
||||
"moduleResolution": "node",
|
||||
"strict": true,
|
||||
"jsx": "preserve",
|
||||
"sourceMap": true,
|
||||
|
Loading…
Reference in New Issue
Block a user