Commit 5339611
fix(@schematics/angular): improve pipe signature
Currently , the CLI generates :
```typescript
transform(value: any , args?: any)
```
With this commit , it generate :
```typescript
transform(value: any, ...args?: any[])
```
Which conforms to the official doc
Fixes #126021 parent 10200f1 commit 5339611
File tree
2 files changed
+3
-1
lines changed- packages/schematics/angular/pipe
- files/__name@dasherize@if-flat__
2 files changed
+3
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| 60 | + | |
| 61 | + | |
60 | 62 | | |
61 | 63 | | |
62 | 64 | | |
| |||
0 commit comments