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 { computed, ref, Ref } from 'vue';
|
||||||
import package_info from '../package.json';
|
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 PrinterCard, { PrinterInfo } from './PrinterCard.vue';
|
||||||
import GitSourceCorner from './GitSourceCorner.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 { computed, Ref, ref, watchEffect } from 'vue';
|
||||||
import prettyMilliseconds from 'pretty-ms';
|
import prettyMilliseconds from 'pretty-ms';
|
||||||
|
|
||||||
import { CurrentOrHistoryPayload } from '../types/octoprint';
|
import type { CurrentOrHistoryPayload } from '../types/octoprint.js';
|
||||||
import { OctoprintColor } from '../types/messages';
|
import type { OctoprintColor } from '../types/messages.js';
|
||||||
|
|
||||||
export interface Props {
|
export interface Props {
|
||||||
slug: string;
|
slug: string;
|
||||||
|
@ -3,7 +3,6 @@
|
|||||||
"target": "esnext",
|
"target": "esnext",
|
||||||
"useDefineForClassFields": true,
|
"useDefineForClassFields": true,
|
||||||
"module": "node16",
|
"module": "node16",
|
||||||
"moduleResolution": "node",
|
|
||||||
"strict": true,
|
"strict": true,
|
||||||
"jsx": "preserve",
|
"jsx": "preserve",
|
||||||
"sourceMap": true,
|
"sourceMap": true,
|
||||||
|
Loading…
Reference in New Issue
Block a user