1
1
mirror of https://github.com/leon-ai/leon.git synced 2024-12-25 09:44:22 +03:00

chore: upgrade TypeScript to latest

This commit is contained in:
louistiti 2022-11-19 21:12:43 +08:00
parent b9a6ee08fe
commit 5959b43e0a
No known key found for this signature in database
GPG Key ID: 7ECA3DD523793FE6
3 changed files with 12 additions and 13 deletions

15
package-lock.json generated
View File

@ -76,7 +76,7 @@
"ts-node": "^10.9.1",
"tsc-watch": "^5.0.3",
"tsconfig-paths": "^4.1.0",
"typescript": "^4.8.2",
"typescript": "^4.9.3",
"vite": "^3.0.9"
},
"engines": {
@ -13704,11 +13704,10 @@
}
},
"node_modules/typescript": {
"version": "4.8.4",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-4.8.4.tgz",
"integrity": "sha512-QCh+85mCy+h0IGff8r5XWzOVSbBO+KfeYrMQh7NJ58QujwcE22u+NUSmUxqF+un70P9GXKxa2HCNiTTMJknyjQ==",
"version": "4.9.3",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-4.9.3.tgz",
"integrity": "sha512-CIfGzTelbKNEnLpLdGFgdyKhG23CKdKgQPOBc+OUNrkJ2vr+KSzsSV5kq5iWhEQbok+quxgGzrAtGWCyU7tHnA==",
"dev": true,
"license": "Apache-2.0",
"bin": {
"tsc": "bin/tsc",
"tsserver": "bin/tsserver"
@ -23637,9 +23636,9 @@
}
},
"typescript": {
"version": "4.8.4",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-4.8.4.tgz",
"integrity": "sha512-QCh+85mCy+h0IGff8r5XWzOVSbBO+KfeYrMQh7NJ58QujwcE22u+NUSmUxqF+un70P9GXKxa2HCNiTTMJknyjQ==",
"version": "4.9.3",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-4.9.3.tgz",
"integrity": "sha512-CIfGzTelbKNEnLpLdGFgdyKhG23CKdKgQPOBc+OUNrkJ2vr+KSzsSV5kq5iWhEQbok+quxgGzrAtGWCyU7tHnA==",
"dev": true
},
"unbox-primitive": {

View File

@ -131,7 +131,7 @@
"ts-node": "^10.9.1",
"tsc-watch": "^5.0.3",
"tsconfig-paths": "^4.1.0",
"typescript": "^4.8.2",
"typescript": "^4.9.3",
"vite": "^3.0.9"
}
}

View File

@ -16,8 +16,8 @@ export default class SocketServer {
}
}
public init(): void {
/*const { httpServer, host } = HTTP_SERVER
/*public init(): void {
const { httpServer, host } = HTTP_SERVER
const io = IS_DEVELOPMENT_ENV
? new SocketIOServer(httpServer, {
cors: { origin: `${this.host}:3000` }
@ -27,6 +27,6 @@ export default class SocketServer {
// TODO: instantiate new socket server
io.on('connection', (socket) => {
})*/
}
})
}*/
}