Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
JulienR1 committed Oct 23, 2023
1 parent fd8a180 commit 6b8c32a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
4 changes: 1 addition & 3 deletions src/fetch/GET.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
// @ts-expect-error
import swaggerUI from "../../swagger/index.html";
// @ts-expect-error
import favicon from "../../swagger/favicon.png";
import swaggerUI from "../../swagger/index.html";

import { file } from "bun";
import { registry } from "../prometheus.js";
Expand Down
9 changes: 9 additions & 0 deletions src/types.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
declare module "*.png" {
const content: string;
export default content;
}

declare module "*.html" {
const content: string;
export default content;
}

0 comments on commit 6b8c32a

Please sign in to comment.