refactor(ivy): handle animation metadata normalization in the compiler (#26481)
PR Close #26481
This commit is contained in:

committed by
Misko Hevery

parent
0f7d2ca7a8
commit
9e5d440a0b
@ -245,7 +245,8 @@ export function compileComponentFromMetadata(
|
||||
|
||||
// e.g. `animations: [trigger('123', [])]`
|
||||
if (meta.animations !== null) {
|
||||
definitionMap.set('animations', meta.animations);
|
||||
definitionMap.set(
|
||||
'data', o.literalMap([{key: 'animations', value: meta.animations, quoted: false}]));
|
||||
}
|
||||
|
||||
// On the type side, remove newlines from the selector as it will need to fit into a TypeScript
|
||||
|
Reference in New Issue
Block a user