From 2a829874bf0155b286b5f8a5ce46a96e6e6fa0cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCrg=C3=BCn=20Day=C4=B1o=C4=9Flu?= Date: Thu, 31 Aug 2023 14:51:32 +0300 Subject: [PATCH] lint --- types/index.test-d.ts | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/types/index.test-d.ts b/types/index.test-d.ts index a8ed243..c370ebf 100644 --- a/types/index.test-d.ts +++ b/types/index.test-d.ts @@ -98,15 +98,15 @@ expectError({ }) expectAssignable({ - root: [''], + root: [''] }) expectAssignable({ - root: new URL(''), + root: new URL('') }) expectAssignable({ - root: [new URL('')], + root: [new URL('')] }) appWithImplicitHttp @@ -186,11 +186,11 @@ options.root = new URL('') const URLRootApp = fastify() URLRootApp.register(fastifyStatic, options) -.after(() => { - URLRootApp.get('/', (request, reply) => { - reply.send('

fastify-static

') + .after(() => { + URLRootApp.get('/', (request, reply) => { + reply.send('

fastify-static

') + }) }) -}) const defaultIndexApp = fastify() options.index = 'index.html'