Created
February 22, 2019 15:54
-
-
Save maxkoretskyi/21e6c9f34e9e74f365999930c1439eff 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 class ComponentResolver { | |
| private resolveByName<A extends IComponent<any> & B, B>(propertyName, ...) { | |
| const componentName: string = componentNameOpt != null ? componentNameOpt : propertyName; | |
| const registeredComponent: RegisteredComponent<A, B> = this.componentProvider.retrieve(componentName); | |
| ... | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment