File tree Expand file tree Collapse file tree 2 files changed +6
-7
lines changed
packages/environment-ember-template-imports/-private/environment
test-packages/package-test-core/__tests__/transform Expand file tree Collapse file tree 2 files changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -124,19 +124,19 @@ type ETIDefaultSatisfiesTemplate = ts.ExpressionStatement & {
124124
125125/**
126126 * Implicit default export:
127- *
127+ *
128128 * ( <template></template> )
129129 * ^ ExpressionStatement
130- *
130+ *
131131 * ( <template></template> satisfies ... )
132132 * ^ SatisfiesExpression
133- *
133+ *
134134 * But!
135- *
135+ *
136136 * ( const X = <template></template> satisfies ... )
137137 * ^ VariableStatement
138- *
139- * So when we check for a wrapping SatisfiesExpression, we need to also make sure
138+ *
139+ * So when we check for a wrapping SatisfiesExpression, we need to also make sure
140140 * the parent node is not a variable Statement.
141141 */
142142function isETIDefaultTemplate ( ts : TSLib , node : ts . Node ) : node is ETIDefaultTemplate {
Original file line number Diff line number Diff line change @@ -467,7 +467,6 @@ describe('Transform: rewriteModule', () => {
467467 ` ) ;
468468 } ) ;
469469
470-
471470 test ( 'handles satisfies' , ( ) => {
472471 const emberTemplateImportsEnvironment = GlintEnvironment . load ( [ 'ember-template-imports' ] ) ;
473472
You can’t perform that action at this time.
0 commit comments