소스 검색

WS TS忽略

林旭祥 10 달 전
부모
커밋
f8a3043ecc
2개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 0
      src/types/socket.io-client.ts
  2. 0 1
      src/utils/ws.ts

+ 1 - 0
src/types/socket.io-client.ts

@@ -0,0 +1 @@
+declare module 'socket.io-client';

+ 0 - 1
src/utils/ws.ts

@@ -1,4 +1,3 @@
-// const router = useRouter();
 import io from 'socket.io-client';
 const address: any = import.meta.env.VITE_APP_BASE_API;
 const token: any = localStorage.getItem('token');