Total Complexity | 1 |
Complexity/F | 1 |
Lines of Code | 12 |
Function Count | 1 |
Duplicated Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | import { IFilterPermission } from '../../../src/permissions/interfaces/filter.permission.interface'; |
||
2 | import { Injectable } from '@nestjs/common'; |
||
3 | |||
4 | @Injectable() |
||
5 | export class TestAsyncFilterTwo implements IFilterPermission { |
||
6 | |||
7 | canAsync(params?: any[]): Promise<boolean> { |
||
8 | return Promise.resolve(params[0]); |
||
9 | } |
||
10 | |||
11 | } |
||
12 |