import { forwardRef } from '@angular/core' ; import { AbstractObject3D } from '../object/abstract-object-3d' ; export function provideParent ( component , parentType ? ) { return { provide : parentType || AbstractObject3D , useExisting : forwardRef ( ( ) => component ) } ; }