-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Jacob Dharandas
committed
Aug 17, 2021
1 parent
7353795
commit 349783a
Showing
5 changed files
with
15 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "nestjs-pino-stackdriver", | ||
"version": "2.1.2", | ||
"version": "2.1.3", | ||
"description": "NestJS Pino logger with Stackdriver support", | ||
"author": "Jacob Dharandas Méndez <[email protected]>", | ||
"license": "MIT", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
import { INestApplication } from '@nestjs/common'; | ||
import * as util from 'util'; | ||
import { INestApplicationContext } from '@nestjs/common/interfaces/nest-application-context.interface'; | ||
|
||
export const isNestApplication = (app: any): app is INestApplication => { | ||
export const isNestApplication = (app: any): app is INestApplicationContext => { | ||
return util.types.isProxy(app) && typeof app.get === 'function'; | ||
}; |