UNPKG
bb-inspired
Version:
latest (0.1.4)
0.1.4
0.1.3
0.1.2
0.1.1
0.1.0
Core library for BB-inspired NestJS backend
bb-inspired
/
dist
/
pipes
/
parse-object-id.pipe.d.ts
7 lines
(6 loc)
•
249 B
TypeScript
View Raw
1
2
3
4
5
6
7
import
{
PipeTransform
}
from
'@nestjs/common'
;
import
{
Types
}
from
'mongoose'
;
export
declare
class
ParseObjectIdPipe
implements
PipeTransform
<
string
,
Types
.
ObjectId
> {
private
readonly
logger;
transform
(
value
:
string
):
Types
.
ObjectId
; }