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

GJS parsed as JSX #694

Closed
NullVoxPopuli opened this issue Jan 22, 2024 · 0 comments · Fixed by #655
Closed

GJS parsed as JSX #694

NullVoxPopuli opened this issue Jan 22, 2024 · 0 comments · Fixed by #655

Comments

@NullVoxPopuli
Copy link
Contributor

NullVoxPopuli commented Jan 22, 2024

I believe this'd be fixed by using content-tag

Evidence:

[lint:types] app/templates/application.gjs:38:3 - error TS2657: JSX expressions must have one parent element.
[lint:types] 
[lint:types]  38   <template>
[lint:types]       ~~~~~~~~~~
[lint:types]  39     {{pageTitle "is Polaris ready yet?"}}
[lint:types]     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[lint:types] ... 
[lint:types]  97 
[lint:types]     
[lint:types]  98     <Footer />
[lint:types]     ~~~~~~~~~~~~~~
[lint:types] 
[lint:types] app/templates/application.gjs:39:17 - error TS1005: ',' expected.
[lint:types] 
[lint:types] 39     {{pageTitle "is Polaris ready yet?"}}

From: https://github.com/NullVoxPopuli/is-polaris-ready-yet/blob/40e70a330dcd94110910aa4dc1b29a757e90ec90/package.json#L31

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 a pull request may close this issue.

1 participant