Skip to content

Commit

Permalink
Fixed tsc check.
Browse files Browse the repository at this point in the history
  • Loading branch information
SamTv12345 committed Sep 13, 2024
1 parent 1415643 commit 3ed1ff7
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
8 changes: 8 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/node/hooks/express/specialpages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ const convertTypescript = (content: string) => {

const handleLiveReload = async (args: any, padString: string, timeSliderString: string, indexString: any) => {
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 } = {};

const setRouteHandler = (path: string, newHandler: Function) => {
Expand Down
5 changes: 3 additions & 2 deletions src/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@
"rehype": "^13.0.1",
"rehype-minify-whitespace": "^6.0.0",
"resolve": "1.22.8",
"rusty-store-kv": "^1.3.1",
"security": "1.0.0",
"semver": "^7.6.3",
"socket.io": "^4.7.5",
Expand All @@ -73,8 +74,7 @@
"ueberdb2": "^5.0.2",
"underscore": "1.13.7",
"unorm": "1.6.0",
"wtfnode": "^0.9.3",
"rusty-store-kv": "^1.3.1"
"wtfnode": "^0.9.3"
},
"bin": {
"etherpad-healthcheck": "../bin/etherpad-healthcheck",
Expand All @@ -98,6 +98,7 @@
"@types/sinon": "^17.0.3",
"@types/supertest": "^6.0.2",
"@types/underscore": "^1.11.15",
"@types/whatwg-mimetype": "^3.0.2",
"chokidar": "^4.0.0",
"eslint": "^9.10.0",
"eslint-config-etherpad": "^4.0.4",
Expand Down

0 comments on commit 3ed1ff7

Please sign in to comment.