Fixed tsc check.

This commit is contained in:
SamTv12345 2024-09-13 08:28:47 +02:00
parent 141564338e
commit 3ed1ff73c2
3 changed files with 12 additions and 3 deletions

8
pnpm-lock.yaml generated
View file

@ -327,6 +327,9 @@ importers:
'@types/underscore': '@types/underscore':
specifier: ^1.11.15 specifier: ^1.11.15
version: 1.11.15 version: 1.11.15
'@types/whatwg-mimetype':
specifier: ^3.0.2
version: 3.0.2
chokidar: chokidar:
specifier: ^4.0.0 specifier: ^4.0.0
version: 4.0.0 version: 4.0.0
@ -1628,6 +1631,9 @@ packages:
'@types/web-bluetooth@0.0.20': '@types/web-bluetooth@0.0.20':
resolution: {integrity: sha512-g9gZnnXVq7gM7v3tJCWV/qw7w+KeOlSHAhgF9RytFyifW6AF61hdT2ucrYhPq9hLs5JIryeupHV3qGk95dH9ow==} resolution: {integrity: sha512-g9gZnnXVq7gM7v3tJCWV/qw7w+KeOlSHAhgF9RytFyifW6AF61hdT2ucrYhPq9hLs5JIryeupHV3qGk95dH9ow==}
'@types/whatwg-mimetype@3.0.2':
resolution: {integrity: sha512-c2AKvDT8ToxLIOUlN51gTiHXflsfIFisS4pO7pDPoKouJCESkhZnEy623gwP9laCy5lnLDAw1vAzu2vM2YLOrA==}
'@typescript-eslint/eslint-plugin@7.17.0': '@typescript-eslint/eslint-plugin@7.17.0':
resolution: {integrity: sha512-pyiDhEuLM3PuANxH7uNYan1AaFs5XE0zw1hq69JBvGvE7gSuEoQl1ydtEe/XQeoC3GQxLXyOVa5kNOATgM638A==} resolution: {integrity: sha512-pyiDhEuLM3PuANxH7uNYan1AaFs5XE0zw1hq69JBvGvE7gSuEoQl1ydtEe/XQeoC3GQxLXyOVa5kNOATgM638A==}
engines: {node: ^18.18.0 || >=20.0.0} engines: {node: ^18.18.0 || >=20.0.0}
@ -5897,6 +5903,8 @@ snapshots:
'@types/web-bluetooth@0.0.20': {} '@types/web-bluetooth@0.0.20': {}
'@types/whatwg-mimetype@3.0.2': {}
'@typescript-eslint/eslint-plugin@7.17.0(@typescript-eslint/parser@7.17.0(eslint@9.10.0)(typescript@5.6.2))(eslint@9.10.0)(typescript@5.6.2)': '@typescript-eslint/eslint-plugin@7.17.0(@typescript-eslint/parser@7.17.0(eslint@9.10.0)(typescript@5.6.2))(eslint@9.10.0)(typescript@5.6.2)':
dependencies: dependencies:
'@eslint-community/regexpp': 4.11.0 '@eslint-community/regexpp': 4.11.0

View file

@ -113,7 +113,7 @@ const convertTypescript = (content: string) => {
const handleLiveReload = async (args: any, padString: string, timeSliderString: string, indexString: any) => { const handleLiveReload = async (args: any, padString: string, timeSliderString: string, indexString: any) => {
const chokidar = await import('chokidar') const chokidar = await import('chokidar')
const watcher = chokidar.watch(path.join(settings.root, 'src', 'static', 'js')); const watcher = chokidar.watch(path.join(settings.root, 'src', 'static', 'js'), {});
let routeHandlers: { [key: string]: Function } = {}; let routeHandlers: { [key: string]: Function } = {};
const setRouteHandler = (path: string, newHandler: Function) => { const setRouteHandler = (path: string, newHandler: Function) => {

View file

@ -63,6 +63,7 @@
"rehype": "^13.0.1", "rehype": "^13.0.1",
"rehype-minify-whitespace": "^6.0.0", "rehype-minify-whitespace": "^6.0.0",
"resolve": "1.22.8", "resolve": "1.22.8",
"rusty-store-kv": "^1.3.1",
"security": "1.0.0", "security": "1.0.0",
"semver": "^7.6.3", "semver": "^7.6.3",
"socket.io": "^4.7.5", "socket.io": "^4.7.5",
@ -73,8 +74,7 @@
"ueberdb2": "^5.0.2", "ueberdb2": "^5.0.2",
"underscore": "1.13.7", "underscore": "1.13.7",
"unorm": "1.6.0", "unorm": "1.6.0",
"wtfnode": "^0.9.3", "wtfnode": "^0.9.3"
"rusty-store-kv": "^1.3.1"
}, },
"bin": { "bin": {
"etherpad-healthcheck": "../bin/etherpad-healthcheck", "etherpad-healthcheck": "../bin/etherpad-healthcheck",
@ -98,6 +98,7 @@
"@types/sinon": "^17.0.3", "@types/sinon": "^17.0.3",
"@types/supertest": "^6.0.2", "@types/supertest": "^6.0.2",
"@types/underscore": "^1.11.15", "@types/underscore": "^1.11.15",
"@types/whatwg-mimetype": "^3.0.2",
"chokidar": "^4.0.0", "chokidar": "^4.0.0",
"eslint": "^9.10.0", "eslint": "^9.10.0",
"eslint-config-etherpad": "^4.0.4", "eslint-config-etherpad": "^4.0.4",