1
1
mirror of https://github.com/leon-ai/leon.git synced 2024-11-24 04:31:31 +03:00

chore: upgrade to TypeScript 5+

This commit is contained in:
louistiti 2023-03-20 23:35:07 +08:00
parent eb026cb74a
commit f6077d58f1
No known key found for this signature in database
GPG Key ID: 0A1C3B043E70C77D
3 changed files with 8 additions and 8 deletions

View File

@ -105,13 +105,13 @@
"devDependencies": {
"@nlpjs/utils": "4.24.1",
"@swc/core": "1.3.14",
"@tsconfig/node16-strictest": "1.0.3",
"@tsconfig/node16-strictest": "1.0.4",
"@types/cli-spinner": "0.2.1",
"@types/fluent-ffmpeg": "2.1.20",
"@types/node": "18.7.13",
"@types/node-wav": "0.0.0",
"@typescript-eslint/eslint-plugin": "5.36.1",
"@typescript-eslint/parser": "5.36.1",
"@typescript-eslint/eslint-plugin": "5.55.0",
"@typescript-eslint/parser": "5.55.0",
"cli-spinner": "0.2.10",
"eslint": "8.22.0",
"eslint-config-prettier": "8.5.0",
@ -128,13 +128,13 @@
"lint-staged": "13.0.3",
"nodemon": "2.0.19",
"prettier": "2.7.1",
"resolve-tspaths": "0.7.4",
"resolve-tspaths": "0.8.8",
"semver": "7.3.5",
"shx": "0.3.3",
"ts-node": "10.9.1",
"tsc-watch": "5.0.3",
"tsconfig-paths": "4.1.0",
"typescript": "4.9.3",
"tsc-watch": "6.0.0",
"tsconfig-paths": "4.1.2",
"typescript": "5.0.2",
"vite": "3.0.9"
}
}

View File

@ -12,7 +12,6 @@ import { version } from '@@/package.json'
import { HAS_LOGGER, IS_TESTING_ENV, TCP_SERVER_BIN_PATH } from '@/constants'
import { TCP_CLIENT, BRAIN, SOCKET_SERVER, MODEL_LOADER, NER } from '@/core'
import { LogHelper } from '@/helpers/log-helper'
import { StringHelper } from '@/helpers/string-helper'
import { LangHelper } from '@/helpers/lang-helper'
import Conversation from '@/core/conversation'

View File

@ -8,6 +8,7 @@
"@@/*": ["./*"],
"@/*": ["./server/src/*"]
},
"ignoreDeprecations": "5.0",
"allowJs": true,
"checkJs": false,
"resolveJsonModule": true