fix(ivy): correctly export all *Def symbols as private (#24862)
Previously, some of the *Def symbols were not exported or were exported as public API. This commit ensures every definition type is in the private export namespace. PR Close #24862
This commit is contained in:

committed by
Victor Berchet

parent
9fd70c9715
commit
d3594fc1c5
@ -86,10 +86,9 @@ describe('ApplicationRef bootstrap', () => {
|
||||
providers: APPLICATION_MODULE_PROVIDERS
|
||||
});
|
||||
|
||||
export function defineNgModule({bootstrap}: {bootstrap?: Type<any>[]}): NgModuleDef {
|
||||
return {
|
||||
bootstrap: bootstrap || [],
|
||||
};
|
||||
export function defineNgModule({bootstrap}: {bootstrap?: Type<any>[]}):
|
||||
NgModuleDef<any, any, any, any> {
|
||||
return ({ bootstrap: bootstrap || [], } as any);
|
||||
}
|
||||
|
||||
/////////////////////////////////////////////////////////
|
||||
|
Reference in New Issue
Block a user