Skip to content

Commit

Permalink
chore: apply suggestions from review
Browse files Browse the repository at this point in the history
  • Loading branch information
fquffio committed Sep 28, 2021
1 parent 387867f commit 736b68e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Router/DocumentMetaMiddleware.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
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;

/**
* 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.
*/
Expand Down

0 comments on commit 736b68e

Please sign in to comment.