mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
docs: fix typo example code in pipes documentation (#59312)
PR Close #59312
This commit is contained in:
@@ -260,7 +260,7 @@ export class MyCustomTransformationPipe implements PipeTransform {
|
||||
|
||||
if (format === 'uppercase') {
|
||||
return msg.toUpperCase()
|
||||
else {
|
||||
} else {
|
||||
return msg
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user