Skip to content

Commit 2290f16

Browse files
fix: remove unnecessary type assertion flagged by ESLint
Co-authored-by: NullVoxPopuli <[email protected]> Agent-Logs-Url: https://github.com/emberjs/ember.js/sessions/12601690-6983-4ec3-a0c4-004709f37c25
1 parent 0fd2b32 commit 2290f16

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • packages/@glimmer/compiler/lib/passes/1-normalization/visitors

packages/@glimmer/compiler/lib/passes/1-normalization/visitors/statements.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ class NormalizationStatements {
9696
);
9797

9898
if (shadowrootmodeAttr && ASTv2.isLiteral(shadowrootmodeAttr.value, 'string')) {
99-
const mode = shadowrootmodeAttr.value.value as string;
99+
const mode = shadowrootmodeAttr.value.value;
100100

101101
if (mode === 'open' || mode === 'closed') {
102102
return this.visitList(element.body, state).mapOk(

0 commit comments

Comments
 (0)