Angular - Animations
Identify the error in this Angular animation code snippet:
trigger('fadeIn', [
transition(':enter', [
animate('1s', keyframes([
style({ opacity: 0, offset: 0 }),
style({ opacity: 1 })
]))
])
])