mirror of
https://github.com/hensm/fx_cast.git
synced 2026-06-11 18:19:58 +00:00
Make type imports explicit
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
"use strict";
|
||||
|
||||
import { Channel } from "castv2";
|
||||
import type { Channel } from "castv2";
|
||||
|
||||
import messaging from "../../messaging";
|
||||
|
||||
import { ReceiverDevice } from "../../messagingTypes";
|
||||
import { ReceiverMessage } from "./types";
|
||||
import type { ReceiverDevice } from "../../messagingTypes";
|
||||
import type { ReceiverMessage } from "./types";
|
||||
|
||||
import CastClient, { NS_CONNECTION, NS_HEARTBEAT } from "./client";
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
import { Channel, Client } from "castv2";
|
||||
|
||||
import { ReceiverMessage, SenderMessage } from "./types";
|
||||
import type { ReceiverMessage, SenderMessage } from "./types";
|
||||
|
||||
export const NS_CONNECTION = "urn:x-cast:com.google.cast.tp.connection";
|
||||
export const NS_HEARTBEAT = "urn:x-cast:com.google.cast.tp.heartbeat";
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
import mdns from "mdns";
|
||||
|
||||
import { ReceiverDevice } from "../../messagingTypes";
|
||||
import type { ReceiverDevice } from "../../messagingTypes";
|
||||
|
||||
/**
|
||||
* Chromecast TXT record
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
import CastClient from "./client";
|
||||
|
||||
import {
|
||||
import type {
|
||||
MediaStatus,
|
||||
ReceiverMessage,
|
||||
ReceiverMediaMessage,
|
||||
|
||||
Reference in New Issue
Block a user