Skip to content

Commit 018403e

Browse files
committed
Remove typescript
1 parent 2520d38 commit 018403e

File tree

3 files changed

+2
-31
lines changed

3 files changed

+2
-31
lines changed

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@
1515
>
1616
</noscript>
1717
<div id="app"></div>
18-
<script type="module" src="/src/main.ts"></script>
18+
<script type="module" src="/src/main.js"></script>
1919
</body>
2020
</html>

src/components/CallTile.vue

Lines changed: 1 addition & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
</main>
4242
</template>
4343

44-
<script lang="ts">
44+
<script>
4545
import { defineComponent } from "vue";
4646
4747
import daily, {
@@ -57,36 +57,7 @@ import ScreenshareTile from "./ScreenshareTile.vue";
5757
import LoadingTile from "./LoadingTile.vue";
5858
import PermissionsErrorMsg from "./PermissionsErrorMsg.vue";
5959
60-
interface Participant {
61-
session_id: string;
62-
user_id: string;
63-
user_name: string;
64-
local: boolean;
65-
video: boolean;
66-
audio: boolean;
67-
screen: boolean;
68-
}
69-
70-
interface Message {
71-
name: string;
72-
message: string;
73-
}
74-
75-
interface CallTileData {
76-
callObject: null | DailyCall;
77-
loading: boolean;
78-
error: string;
79-
showPermissionsError: boolean;
80-
participants: Participant[];
81-
screen: unknown; // video track
82-
messages: Message[];
83-
count: number;
84-
}
8560
86-
type Tracks = {
87-
videoTrack: MediaStreamTrack | null;
88-
audioTrack: MediaStreamTrack | null;
89-
};
9061
9162
export default defineComponent({
9263
name: "CallTile",

src/main.ts renamed to src/main.js

File renamed without changes.

0 commit comments

Comments
 (0)