mirror of
https://github.com/hensm/fx_cast.git
synced 2026-06-12 18:39:58 +00:00
TSLint compliance
This commit is contained in:
@@ -12,9 +12,9 @@ import { getChromeUserAgent } from "./lib/userAgents";
|
|||||||
import { getWindowCenteredProps } from "./lib/utils";
|
import { getWindowCenteredProps } from "./lib/utils";
|
||||||
|
|
||||||
import { getReceiverSelector
|
import { getReceiverSelector
|
||||||
, ReceiverSelectorType
|
|
||||||
, ReceiverSelectorMediaType
|
, ReceiverSelectorMediaType
|
||||||
, ReceiverSelectorSelectedEvent } from "./receiver_selectors";
|
, ReceiverSelectorSelectedEvent
|
||||||
|
, ReceiverSelectorType } from "./receiver_selectors";
|
||||||
|
|
||||||
import { Message, Receiver } from "./types";
|
import { Message, Receiver } from "./types";
|
||||||
|
|
||||||
|
|||||||
@@ -18,9 +18,7 @@ export enum ReceiverSelectorType {
|
|||||||
, NativeMac
|
, NativeMac
|
||||||
}
|
}
|
||||||
|
|
||||||
export function getReceiverSelector (
|
export function getReceiverSelector (type: ReceiverSelectorType) {
|
||||||
type: ReceiverSelectorType) {
|
|
||||||
|
|
||||||
switch (type) {
|
switch (type) {
|
||||||
case ReceiverSelectorType.Popup: {
|
case ReceiverSelectorType.Popup: {
|
||||||
return new PopupReceiverSelector();
|
return new PopupReceiverSelector();
|
||||||
|
|||||||
Reference in New Issue
Block a user