From 736b68effa3e6478d4337e8e3ac73d769e3f1ddd Mon Sep 17 00:00:00 2001 From: Paolo Cuffiani Date: Tue, 28 Sep 2021 17:56:09 +0200 Subject: [PATCH] chore: apply suggestions from review --- src/Router/DocumentMetaMiddleware.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Router/DocumentMetaMiddleware.ts b/src/Router/DocumentMetaMiddleware.ts index c4d01e7..23edd7c 100644 --- a/src/Router/DocumentMetaMiddleware.ts +++ b/src/Router/DocumentMetaMiddleware.ts @@ -1,6 +1,6 @@ import { Middleware } from './Middleware'; -import { Request } from './Request'; -import { Meta, Response } from './Response'; +import type { Request } from './Request'; +import type { Meta, Response } from './Response'; export type TitleBuilder = (title: string | undefined, response: Response) => string; export type MetaBuilder = (meta: Meta|undefined, response: Response) => Meta; @@ -8,7 +8,7 @@ export type MetaBuilder = (meta: Meta|undefined, response: Response) => Meta; /** * Middleware to set the document title and meta tags upon navigation. */ -export class DocumentMetaMiddleware extends Middleware{ +export class DocumentMetaMiddleware extends Middleware { /** * Get the owner document. */