Skip to content

Commit 2b678c3

Browse files
committed
Lint:fix
1 parent 6578855 commit 2b678c3

File tree

2 files changed

+6
-7
lines changed
  • packages/environment-ember-template-imports/-private/environment
  • test-packages/package-test-core/__tests__/transform

2 files changed

+6
-7
lines changed

packages/environment-ember-template-imports/-private/environment/transform.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff 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
*/
142142
function isETIDefaultTemplate(ts: TSLib, node: ts.Node): node is ETIDefaultTemplate {

test-packages/package-test-core/__tests__/transform/rewrite.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)