From bf3e502e910bb8add02f55c4d57648f439364b39 Mon Sep 17 00:00:00 2001 From: Vasil Sudakou Date: Mon, 13 Jan 2025 13:22:22 +0300 Subject: [PATCH] fix: ts declarations --- lib/@types/index.d.ts | 1 + lib/http-server/index.ts | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) create mode 100644 lib/@types/index.d.ts diff --git a/lib/@types/index.d.ts b/lib/@types/index.d.ts new file mode 100644 index 0000000..83c264c --- /dev/null +++ b/lib/@types/index.d.ts @@ -0,0 +1 @@ +declare module 'cf-logs'; diff --git a/lib/http-server/index.ts b/lib/http-server/index.ts index eb06be4..5281f56 100644 --- a/lib/http-server/index.ts +++ b/lib/http-server/index.ts @@ -1,6 +1,4 @@ import fastify from 'fastify'; - -// @ts-expect-error it's a js library import cfLogs from 'cf-logs'; import { saveServerAddress } from '../helpers';