Skip to content

Commit

Permalink
chore: suppress unrelated ts build error
Browse files Browse the repository at this point in the history
Signed-off-by: Akiff Manji <[email protected]>
  • Loading branch information
amanji committed Oct 16, 2024
1 parent 86fb430 commit c8e0a77
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion services/tenant-ui/src/routes/router.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ router.use(express.json());
// For the secured innkeepr OIDC login request to verify the token and get a token from Traction
router.get(
"/innkeeperLogin",
// @ts-expect-error: secure function is not typed correctly
// @ts-ignore

Check failure on line 25 in services/tenant-ui/src/routes/router.ts

View workflow job for this annotation

GitHub Actions / Build Tenant UI

Use "@ts-expect-error" instead of "@ts-ignore", as "@ts-ignore" will do nothing if the following line is error-free
// @ts-expect-error

Check failure on line 26 in services/tenant-ui/src/routes/router.ts

View workflow job for this annotation

GitHub Actions / Build Tenant UI

Include a description after the "@ts-expect-error" directive to explain why the @ts-expect-error is necessary. The description must be 3 characters or longer
secure(jwksService),
async (req: any, res: Response, next: NextFunction) => {
try {
Expand Down

0 comments on commit c8e0a77

Please sign in to comment.