From ea6579abeac81952098bcdef24a675f17a533984 Mon Sep 17 00:00:00 2001 From: 123niel Date: Thu, 7 Feb 2019 00:20:49 +0100 Subject: [PATCH] interfaces for ChannelView --- src/interfaces.d.ts | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 src/interfaces.d.ts diff --git a/src/interfaces.d.ts b/src/interfaces.d.ts new file mode 100644 index 0000000..33e633d --- /dev/null +++ b/src/interfaces.d.ts @@ -0,0 +1,11 @@ +interface Channel { + id: number; + name: string; + totalClients: number; + neededSubscribePower: number; + subchannels: Channel[]; +} + +interface ChannelViewProps { + channel: Channel; +}