Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix type for the field languages in HighLightOptions #63

Closed
wants to merge 1 commit into from

Conversation

changhuixu
Copy link

This pull request is related to issue #62

@MurhafSousli
Copy link
Owner

MurhafSousli commented Nov 27, 2018

Hi @changhuixu Did you try your changes in AOT?

@changhuixu
Copy link
Author

@MurhafSousli , I tried just now. It didn't work in AOT...
The const functions are NULL, which means the imported functions are ignored in AOT because of no usages when assigned to const variable.

Your original way works. Do you have explanations?

@MurhafSousli
Copy link
Owner

MurhafSousli commented Nov 27, 2018

@changhuixu It has been always like this with AOT, you have to use exported function to return a value in NgModule

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants