Skip to content

Commit

Permalink
fix: Ignore ts error due to a bug in Elysia eden
Browse files Browse the repository at this point in the history
  • Loading branch information
matvp91 committed Oct 12, 2024
1 parent e6a6a3b commit 5b75718
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/dashboard/src/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,6 @@ import type { App } from "@mixwave/api/client";

export type * from "@mixwave/api/client";

// See https://tezos.stackexchange.com/questions/6380/elysia-eden-treaty-types-error
// @ts-expect-error

Check failure on line 7 in packages/dashboard/src/api.ts

View workflow job for this annotation

GitHub Actions / lint

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
export const api = treaty<App>(window.__ENV__.PUBLIC_API_ENDPOINT);

0 comments on commit 5b75718

Please sign in to comment.