Created
April 10, 2017 18:20
-
-
Save isaacplmann/aac799762e2920af88de7f24bbaff740 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export abstract class NqConnectedComponent { | |
nqData: any; | |
nqRefresh: EventEmitter<any>; | |
} | |
export function provideNqConnectedComponent(component: any, parentType?: any): Provider { | |
return { provide: parentType || NqConnectedComponent, useExisting: forwardRef(() => component) }; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment