UNPKG
ng2-pipes
Version:
latest (2.0.1)
2.0.1
2.0.0
1.7.0
1.6.6
1.6.5
1.6.4
1.6.3
1.6.2
1.6.1
1.5.10
1.5.9
1.5.8
1.5.0
1.4.10
1.4.9
1.4.7
1.4.6
1.4.5
1.4.4
1.4.3
1.4.2
1.4.1
1.4.0
1.3.3
1.3.2
1.3.1
1.3.0
1.2.3
1.2.2
1.1.3
1.1.2
1.1.1
1.1.0
1.0.0
0.5.8
0.5.7
0.5.6
0.5.5
0.5.4
0.5.3
0.5.2
0.5.1
0.5.0
0.4.19
0.4.18
0.4.17
0.4.16
0.4.15
0.4.14
0.4.13
0.4.12
0.4.11
0.4.10
0.4.9
0.4.8
0.4.7
0.4.6
0.4.4
0.4.3
0.4.2
0.4.1
0.4.0
0.3.9
0.3.8
0.3.7
0.3.6
0.3.5
0.3.4
0.3.3
0.3.2
0.3.1
0.3.0
0.2.9
0.2.8
0.2.7
0.2.6
0.2.5
0.2.4
0.2.3
0.2.2
0.2.1
0.2.0
0.1.1
0.1.0
0.0.4
0.0.3
0.0.2
0.0.1
Useful angular2 pipes
github.com/danrevah/ngx-pipes
danrevah/ngx-pipes
ng2-pipes
/
src
/
app
/
pipes
/
array
/
flatten.d.ts
6 lines
(5 loc)
•
188 B
TypeScript
View Raw
1
2
3
4
5
6
import
{
PipeTransform
}
from
'@angular/core'
;
export
declare
class
FlattenPipe
implements
PipeTransform
{
transform
(
arr
:
any
,
shallow
?:
boolean
):
any
[];
private
flatten
(array); }