Translate everything to typescript
This commit is contained in:
1 parent
c3ca3e1752
commit
e9818aaeda
27 files changed
+901
-552
No files matched your search
@@ -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>
|
||||
|
||||
|
||||
Reference in new issue
Block a user