Skip to content

Commit

Permalink
Fix ts
Browse files Browse the repository at this point in the history
  • Loading branch information
Hacksore committed Sep 23, 2024
1 parent df347b5 commit 99ff427
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions apps/web/src/pages/test.astro
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ import Layout from "../layouts/Layout.astro";
</style>

<script>
const connnected = false;
const overlayedDiv = document.getElementById("overlayed");
const socketLog = document.getElementById("socket-log");
const streamkitDiv = document.getElementById("streamkit");
let connnected = false;
const overlayedDiv = document.getElementById("overlayed")!;
const socketLog = document.getElementById("socket-log")!;
const streamkitDiv = document.getElementById("streamkit")!;

function connectToDiscord(url, domNode) {
function connectToDiscord(url: string, domNode: HTMLElement) {
const socket = new WebSocket(url);

const timeoutId = setTimeout(() => {
Expand Down

0 comments on commit 99ff427

Please sign in to comment.