From cdaf8d61fc53e67470a759973fcdceb343d2e824 Mon Sep 17 00:00:00 2001 From: 0age <37939117+0age@users.noreply.github.com> Date: Wed, 4 Dec 2024 16:14:07 -0800 Subject: [PATCH] fix: include .d.ts files in lint-staged and remove unused FastifyInstance import --- package.json | 2 +- src/types/fastify.d.ts | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/package.json b/package.json index 267967c..b3fabc8 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,7 @@ "**/*.{test,spec}.ts": [ "node scripts/check-test-files.js" ], - "src/**/!(*d).ts": [ + "src/**/*.ts": [ "prettier --write", "eslint --fix", "prettier --check", diff --git a/src/types/fastify.d.ts b/src/types/fastify.d.ts index 8deeb66..ed9e8a0 100644 --- a/src/types/fastify.d.ts +++ b/src/types/fastify.d.ts @@ -1,4 +1,3 @@ -import { FastifyInstance as BaseFastifyInstance } from 'fastify'; import { PGlite } from '@electric-sql/pglite'; declare module 'fastify' {