Closed
Description
I believe this'd be fixed by using content-tag
- Use
content-tag
instead ofember-template-imports
#655- (potentially) closes:
- but (kinda) blocked on:
- adding a
transform
callback function: For linting, we'd need to be able to emit a full AST, including nodes for the template embroider-build/content-tag#39 (comment)- started here: Transform callback embroider-build/content-tag#29
- or having
content-tag
provide char-indexes for theparse
result in addition to the existing byte-indexes
- adding a
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?"}}
Metadata
Metadata
Assignees
Labels
No labels