fix(ivy): support multiple exportAs (#27996)
Allows for multiple, comma-separated `exportAs` names, similarly to `ViewEngine`. These changes fix FW-708. PR Close #27996
This commit is contained in:

committed by
Andrew Kushnir

parent
b78351cc7e
commit
9277142d54
@ -151,7 +151,7 @@ export function defineComponent<T>(componentDefinition: {
|
||||
*
|
||||
* See: {@link Directive.exportAs}
|
||||
*/
|
||||
exportAs?: string;
|
||||
exportAs?: string[];
|
||||
|
||||
/**
|
||||
* Template function use for rendering DOM.
|
||||
@ -605,7 +605,7 @@ export const defineDirective = defineComponent as any as<T>(directiveDefinition:
|
||||
*
|
||||
* See: {@link Directive.exportAs}
|
||||
*/
|
||||
exportAs?: string;
|
||||
exportAs?: string[];
|
||||
}) => never;
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user