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

Unsupported syntax? #26

Closed
moniuch opened this issue Aug 20, 2019 · 3 comments
Closed

Unsupported syntax? #26

moniuch opened this issue Aug 20, 2019 · 3 comments

Comments

@moniuch
Copy link

moniuch commented Aug 20, 2019

Maybe I am still too fresh, as this is my first hour with transloco, and I am still missing something but I tested the syntax options provided in README, against the following markup:

<p transloco="title"></p>
<p [transloco]="title"></p>
<p>{{ 'title' | transloco}}</p>
<ng-container *transloco="let t">
  <p>{{ t.title }}</p>
</ng-container>

and I got the following result in WebStorm

image

Seems like the two upper options are not allowed.

@NetanelBasal
Copy link
Contributor

Do you have a runtime error? If not, that's your IDE issue.

@moniuch
Copy link
Author

moniuch commented Aug 20, 2019

OK thanks will forward it to them

@NetanelBasal
Copy link
Contributor

Thanks.

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

No branches or pull requests

2 participants