Skip to content

Commit 2f26167

Browse files
committed
chore: enable documentation config and add ts-expect-error comments
1 parent 882e34f commit 2f26167

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

api/config/renderer.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,8 @@ const notFoundRenderer = (_: unknown, res: Response) =>
6666
export const rendererConfig = (app: Express) => {
6767
app.use(filter);
6868
app.use(renderer);
69+
//@ts-expect-error
6970
app.use(errorRenderer);
71+
//@ts-expect-error
7072
app.use(notFoundRenderer);
7173
};

tsconfig.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
2-
// "extends": "@docusaurus/tsconfig", // Enable for editing documentation
2+
"extends": "@docusaurus/tsconfig", // Enabled for documentation
33
"compilerOptions": {
4-
// "jsx": "react-jsx", // Enable for editing documentation
4+
"jsx": "react-jsx", // Enabled for documentation
55
"module": "commonjs",
66
"resolveJsonModule": true,
77
"esModuleInterop": true,
8-
"target": "es5",
8+
"target": "es2015",
99
"lib": ["DOM", "es6"],
1010
"noImplicitAny": true,
1111
"moduleResolution": "node",

0 commit comments

Comments
 (0)