mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-06-06 23:57:19 +02:00
Fix imports
This commit is contained in:
parent
06c6b8c5af
commit
e5ab7c93f9
@ -1,6 +1,5 @@
|
|||||||
import stylus from 'stylus';
|
import stylus from 'stylus';
|
||||||
|
|
||||||
// @ts-ignore
|
|
||||||
import cssStr from "@assets/css/styles.styl" with { type: "text" };
|
import cssStr from "@assets/css/styles.styl" with { type: "text" };
|
||||||
|
|
||||||
const generatedCss = await (stylus(cssStr, {})
|
const generatedCss = await (stylus(cssStr, {})
|
||||||
|
3
src/types/index.d.ts
vendored
3
src/types/index.d.ts
vendored
@ -67,3 +67,6 @@ type XcloudTitleInfo = {
|
|||||||
tileImageUrl: string;
|
tileImageUrl: string;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
declare module "*.svg";
|
||||||
|
declare module "*.styl";
|
||||||
|
@ -1,26 +1,14 @@
|
|||||||
// @ts-ignore
|
|
||||||
import iconController from "@assets/svg/controller.svg" with { type: "text" };
|
import iconController from "@assets/svg/controller.svg" with { type: "text" };
|
||||||
// @ts-ignore
|
|
||||||
import iconCopy from "@assets/svg/copy.svg" with { type: "text" };
|
import iconCopy from "@assets/svg/copy.svg" with { type: "text" };
|
||||||
// @ts-ignore
|
|
||||||
import iconCursorText from "@assets/svg/cursor-text.svg" with { type: "text" };
|
import iconCursorText from "@assets/svg/cursor-text.svg" with { type: "text" };
|
||||||
// @ts-ignore
|
|
||||||
import iconDisplay from "@assets/svg/display.svg" with { type: "text" };
|
import iconDisplay from "@assets/svg/display.svg" with { type: "text" };
|
||||||
// @ts-ignore
|
|
||||||
import iconMouseSettings from "@assets/svg/mouse-settings.svg" with { type: "text" };
|
import iconMouseSettings from "@assets/svg/mouse-settings.svg" with { type: "text" };
|
||||||
// @ts-ignore
|
|
||||||
import iconMouse from "@assets/svg/mouse.svg" with { type: "text" };
|
import iconMouse from "@assets/svg/mouse.svg" with { type: "text" };
|
||||||
// @ts-ignore
|
|
||||||
import iconNew from "@assets/svg/new.svg" with { type: "text" };
|
import iconNew from "@assets/svg/new.svg" with { type: "text" };
|
||||||
// @ts-ignore
|
|
||||||
import iconQuestion from "@assets/svg/question.svg" with { type: "text" };
|
import iconQuestion from "@assets/svg/question.svg" with { type: "text" };
|
||||||
// @ts-ignore
|
|
||||||
import iconRemotePlay from "@assets/svg/remote-play.svg" with { type: "text" };
|
import iconRemotePlay from "@assets/svg/remote-play.svg" with { type: "text" };
|
||||||
// @ts-ignore
|
|
||||||
import iconStreamSettings from "@assets/svg/stream-settings.svg" with { type: "text" };
|
import iconStreamSettings from "@assets/svg/stream-settings.svg" with { type: "text" };
|
||||||
// @ts-ignore
|
|
||||||
import iconStreamStats from "@assets/svg/stream-stats.svg" with { type: "text" };
|
import iconStreamStats from "@assets/svg/stream-stats.svg" with { type: "text" };
|
||||||
// @ts-ignore
|
|
||||||
import iconTrash from "@assets/svg/trash.svg" with { type: "text" };
|
import iconTrash from "@assets/svg/trash.svg" with { type: "text" };
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user