Translate everything to typescript

This commit is contained in:
Schluffe committed 2026-10-09 14:17:36 +02:00
1 parent c3ca3e1752
commit e9818aaeda
27 files changed
+901 -552

No files matched your search

+5 -4
View File
@@ -1,7 +1,8 @@
<script setup>
import { STUN_PROVIDERS } from '../lib/webrtc.js';
const settings = defineModel({ required: true });
defineProps({ disabled: Boolean });
<script setup lang="ts">
import type { NetworkSettings } from '../lib/webrtc.ts';
import { STUN_PROVIDERS } from '../lib/webrtc.ts';
const settings = defineModel<NetworkSettings>({ required: true });
defineProps<{ disabled?: boolean }>();
const iceEndpoint = import.meta.env.VITE_ICE_ENDPOINT || '';
</script>