Skip to content

Commit

Permalink
tell c8 to ignore types.ts for coverage (#435)
Browse files Browse the repository at this point in the history
* chore(dotenv): tell c8 to ignore `types.ts` for coverage

* chore(app): tell c8 to ignore `types.ts` for coverage
  • Loading branch information
Lordfirespeed authored Jul 28, 2024
1 parent 0a92149 commit ea29e20
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/app/src/types.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* c8 ignore start*/
import type { Trust } from '@tinyhttp/proxy-addr'
import type { Handler, NextFunction } from '@tinyhttp/router'
import type { ErrorHandler } from './onError.js'
Expand Down Expand Up @@ -49,3 +50,4 @@ export type AppConstructor<Req extends Request = Request, Res extends Response =
settings: AppSettings
applyExtensions: (req: Request, res: Response, next: NextFunction) => void
}>
/* c8 ignore stop */
2 changes: 2 additions & 0 deletions packages/dotenv/src/types.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* c8 ignore start */
export interface DotenvParseOptions {
/**
* You may turn on logging to help debug why certain keys or values are not being set as you expect.
Expand Down Expand Up @@ -32,3 +33,4 @@ export interface DotenvConfigOutput {
}

export type config = (options?: DotenvConfigOptions) => DotenvConfigOutput
/* c8 ignore stop */

0 comments on commit ea29e20

Please sign in to comment.