Skip to content

Commit

Permalink
Fix comments for readable code
Browse files Browse the repository at this point in the history
  • Loading branch information
cpfriend1721994 committed Apr 4, 2024
1 parent 5228f46 commit 553201b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions interfaces/nest-hyper-express-application.interface.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export interface NestHyperExpressApplication<
TServer extends Server = Server,
> extends INestApplication<TServer> {
/**
* Returns the underlying HTTP adapter bounded to the Express.js app.
* Returns the underlying HTTP adapter bounded to the Hyper-express.
*
* @returns {HttpServer}
*/
Expand Down Expand Up @@ -85,7 +85,7 @@ export interface NestHyperExpressApplication<
useStaticAssets(path: string, options?: ServeStaticOptions): this;

/**
* Register Express body parsers on the fly. Will respect
* Register Hyper-express body parsers on the fly. Will respect
* the application's `rawBody` option.
*
* @example
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Type alias to keep compatibility with @types/body-parser
* @see https://github.com/DefinitelyTyped/DefinitelyTyped/blob/dcd1673c4fa18a15ea8cd8ff8af7d563bb6dc8e6/types/body-parser/index.d.ts#L48-L66#L48-L66
* @see https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/body-parser/index.d.ts
* @publicApi
*/
export interface NestHyperExpressBodyParserOptions {
Expand Down
2 changes: 1 addition & 1 deletion interfaces/serve-static-options.interface.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* Interface describing options for serving static assets.
*
* @see [Serving static files in Express](https://expressjs.com/en/starter/static-files.html)
* @see [Serving static files in Hyper-express](https://github.com/kartikk221/hyper-express/blob/master/docs/LiveDirectory.md)
* @see [Model-View-Controller](https://docs.nestjs.com/techniques/mvc)
*
* @publicApi
Expand Down

0 comments on commit 553201b

Please sign in to comment.