Created
February 22, 2019 15:55
-
-
Save maxkoretskyi/8ff3ac4e092fee6bd018bf18f0307e84 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 = componentNameOpt != null ? componentNameOpt : propertyName; | |
const registeredComponent = this.componentProvider.retrieve(componentName); | |
... | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment